[www] Document stability up
This commit is contained in:
1 parent
9855c14da0
commit
68739ddbde
1 file changed
+4
-1
@@ -22,7 +22,10 @@ class Document {
|
|||||||
this.id = data.id
|
this.id = data.id
|
||||||
this.hash = data.hash
|
this.hash = data.hash
|
||||||
this.file = data.file
|
this.file = data.file
|
||||||
this.fileInfo = new DocumentFile(data.fileInfo)
|
// In the future: use fileInfo only
|
||||||
|
this.fileInfo = data.fileInfo
|
||||||
|
? new DocumentFile(data.fileInfo)
|
||||||
|
: new DocumentFile(data.file)
|
||||||
this.type = data.type
|
this.type = data.type
|
||||||
this.title = data.title
|
this.title = data.title
|
||||||
this.category = data.category
|
this.category = data.category
|
||||||
|
|||||||
Reference in new issue
Block a user