Noded/frontend#77 - track node ID with file box record
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -291,7 +291,7 @@ class Page extends VersionedModel {
|
||||
|
||||
children.push({
|
||||
id: box.pageId,
|
||||
// node_id // FIXME need to track this w/ the file boxes
|
||||
node_id: box.nodeId,
|
||||
children: [],
|
||||
type: 'file_box',
|
||||
name: box.name,
|
||||
|
||||
@@ -12,6 +12,7 @@ class FileBoxModel extends Model {
|
||||
UUID: { type: String, default: uuid },
|
||||
name: String,
|
||||
pageId: String,
|
||||
nodeId: String,
|
||||
parentUUID: String,
|
||||
rootUUID: String,
|
||||
fileIds: [String],
|
||||
@@ -56,6 +57,7 @@ class FileBoxModel extends Model {
|
||||
name: this.name,
|
||||
title: this.name,
|
||||
pageId: this.pageId,
|
||||
nodeId: this.nodeId,
|
||||
parentUUID: this.parentUUID,
|
||||
rootUUID: this.rootUUID,
|
||||
fileIds: this.fileIds || [],
|
||||
|
||||
Reference in New Issue
Block a user