mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
apply collection and folder views
This commit is contained in:
16
src/models/view/folderView.ts
Normal file
16
src/models/view/folderView.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { View } from './view';
|
||||
|
||||
import { Folder } from '../domain/folder';
|
||||
|
||||
export class FolderView implements View {
|
||||
id: string;
|
||||
name: string;
|
||||
|
||||
constructor(f?: Folder) {
|
||||
if (!f) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.id = f.id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user