Fixed parent.id => parentId
This commit is contained in:
@@ -71,7 +71,7 @@ export default {
|
||||
|
||||
return CreatureProperties.find({
|
||||
...getFilter.descendantsOfRoot(this.creatureId),
|
||||
'parent.id': {
|
||||
'parentId': {
|
||||
$nin: folderIds,
|
||||
},
|
||||
type: 'action',
|
||||
|
||||
@@ -69,7 +69,7 @@ export default {
|
||||
|
||||
return CreatureProperties.find({
|
||||
...getFilter.descendantsOfRoot(this.creatureId),
|
||||
'parent.id': {
|
||||
'parentId': {
|
||||
$nin: folderIds,
|
||||
},
|
||||
type: 'feature',
|
||||
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
containers() {
|
||||
return CreatureProperties.find({
|
||||
...getFilter.descendantsOfRoot(this.creatureId),
|
||||
'parent.id': {
|
||||
'parend': {
|
||||
$nin: this.folderIds,
|
||||
},
|
||||
type: 'container',
|
||||
|
||||
@@ -136,7 +136,7 @@ export default {
|
||||
sort: { order: 1 },
|
||||
}).map(c => {
|
||||
c.items = CreatureProperties.find({
|
||||
'parent.id': c._id,
|
||||
'parentId': c._id,
|
||||
type: { $in: ['item', 'container'] },
|
||||
removed: { $ne: true },
|
||||
equipped: { $ne: true },
|
||||
|
||||
Reference in New Issue
Block a user