diff --git a/app/imports/ui/creature/character/characterSheetTabs/StatsTab.vue b/app/imports/ui/creature/character/characterSheetTabs/StatsTab.vue index 1ec2f028..aec233d5 100644 --- a/app/imports/ui/creature/character/characterSheetTabs/StatsTab.vue +++ b/app/imports/ui/creature/character/characterSheetTabs/StatsTab.vue @@ -15,7 +15,7 @@ @@ -123,17 +123,7 @@ - - - - add - - @@ -156,6 +146,7 @@ 'ancestor.id': charId, type: 'attribute', attributeType: type, + removed: {$ne: true}, }, { sort: {order: 1} }); @@ -166,7 +157,8 @@ 'ancestor.id': charId, type: 'attribute', attributeType: type, - value: {$ne: 0} + value: {$ne: 0}, + removed: {$ne: true}, }, { sort: {order: 1} }); @@ -260,14 +252,14 @@ methods: { clickAttribute({_id}){ this.$store.commit('pushDialogStack', { - component: 'attribute-dialog-container', - elementId: _id, + component: 'creature-property-dialog', + elementId: `ability-list-tile-${_id}`, data: {_id}, }); }, clickSkill({_id}){ this.$store.commit('pushDialogStack', { - component: 'skill-dialog-container', + component: 'creature-property-dialog', elementId: _id, data: {_id}, }); diff --git a/app/imports/ui/properties/forms/EffectForm.vue b/app/imports/ui/properties/forms/EffectForm.vue index b703c231..3b224453 100644 --- a/app/imports/ui/properties/forms/EffectForm.vue +++ b/app/imports/ui/properties/forms/EffectForm.vue @@ -1,44 +1,58 @@ @@ -52,9 +66,14 @@ type: Object, default: () => ({}), }, + errors: { + type: Object, + default: () => ({}), + }, stats: { type: Array, }, + debounceTime: Number, }, data(){ return { displayedIcon: 'add', diff --git a/app/imports/ui/properties/viewers/EffectViewer.vue b/app/imports/ui/properties/viewers/EffectViewer.vue index 40a153ac..4f295f9f 100644 --- a/app/imports/ui/properties/viewers/EffectViewer.vue +++ b/app/imports/ui/properties/viewers/EffectViewer.vue @@ -1,13 +1,13 @@