1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 11:13:46 +00:00
Files
browser/src/models/view/secureNoteView.ts
2019-01-25 09:30:21 -05:00

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;
}
}