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

@@ -41,7 +41,7 @@ export default {
properties() {
const props = [];
CreatureProperties.find({
'parent.id': this.model._id,
'parentId': this.model._id,
removed: { $ne: true },
overridden: { $ne: true },
$or: [

View File

@@ -34,7 +34,7 @@ export default {
properties() {
const props = [];
CreatureProperties.find({
'parent.id': this.model._id,
'parentId': this.model._id,
removed: { $ne: true },
overridden: { $ne: true },
$or: [

View File

@@ -52,7 +52,7 @@ export default {
});
const slotIds = slots.map(s => s._id);
const slotChildren = CreatureProperties.find({
'parent.id': { $in: slotIds },
'parentId': { $in: slotIds },
removed: { $ne: true },
}, {
sort: { order: 1 },

View File

@@ -94,7 +94,7 @@ export default {
meteor: {
items() {
return CreatureProperties.find({
'parent.id': this.model._id,
'parentId': this.model._id,
type: { $in: ['item', 'container'] },
removed: { $ne: true },
equipped: { $ne: true },