mirror of
https://github.com/bitwarden/browser
synced 2026-02-06 03:33:30 +00:00
fix type error
This commit is contained in:
@@ -18,7 +18,7 @@ export class FolderWithIdExport extends FolderExport {
|
||||
|
||||
// Use build method instead of ctor so that we can control order of JSON stringify for pretty print
|
||||
build(o: FolderView | FolderDomain) {
|
||||
this.id = o.id;
|
||||
this.id = o.id ?? "";
|
||||
super.build(o);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user