mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 15:23:33 +00:00
pretty print json
This commit is contained in:
@@ -8,11 +8,8 @@ export class Folder {
|
||||
|
||||
name: string;
|
||||
|
||||
constructor(o?: FolderView) {
|
||||
if (o == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Use build method instead of ctor so that we can control order of JSON stringify for pretty print
|
||||
build(o: FolderView) {
|
||||
this.name = o.name;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user