mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 11:13:46 +00:00
22 lines
402 B
TypeScript
22 lines
402 B
TypeScript
import { SecureNoteType } from '../../enums/secureNoteType';
|
|
|
|
import { View } from './view';
|
|
|
|
import { SecureNote } from '../domain/secureNote';
|
|
|
|
export class SecureNoteView implements View {
|
|
type: SecureNoteType = null;
|
|
|
|
constructor(n?: SecureNote) {
|
|
if (!n) {
|
|
return;
|
|
}
|
|
|
|
this.type = n.type;
|
|
}
|
|
|
|
get subTitle(): string {
|
|
return null;
|
|
}
|
|
}
|