mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
Move to libs
This commit is contained in:
21
libs/common/src/models/view/secureNoteView.ts
Normal file
21
libs/common/src/models/view/secureNoteView.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { SecureNoteType } from "../../enums/secureNoteType";
|
||||
import { SecureNote } from "../domain/secureNote";
|
||||
|
||||
import { ItemView } from "./itemView";
|
||||
|
||||
export class SecureNoteView extends ItemView {
|
||||
type: SecureNoteType = null;
|
||||
|
||||
constructor(n?: SecureNote) {
|
||||
super();
|
||||
if (!n) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.type = n.type;
|
||||
}
|
||||
|
||||
get subTitle(): string {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user