Fixed parent.id => parentId

This commit is contained in:
Thaum Rystra
2024-03-26 09:58:01 +02:00
parent 0eb763dc0e
commit 352e89ee9a
13 changed files with 15 additions and 15 deletions

View File

@@ -71,7 +71,7 @@ export default {
return CreatureProperties.find({
...getFilter.descendantsOfRoot(this.creatureId),
'parent.id': {
'parentId': {
$nin: folderIds,
},
type: 'action',

View File

@@ -69,7 +69,7 @@ export default {
return CreatureProperties.find({
...getFilter.descendantsOfRoot(this.creatureId),
'parent.id': {
'parentId': {
$nin: folderIds,
},
type: 'feature',

View File

@@ -156,7 +156,7 @@ export default {
containers() {
return CreatureProperties.find({
...getFilter.descendantsOfRoot(this.creatureId),
'parent.id': {
'parend': {
$nin: this.folderIds,
},
type: 'container',

View File

@@ -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 },