Improved slot fill UI

Added custom button
Prop insert form disabled +child
No backdrop close creation forms
This commit is contained in:
Stefan Zermatten
2023-06-06 12:35:22 +02:00
parent a25ab2040c
commit 56ca4b1680
10 changed files with 129 additions and 13 deletions

View File

@@ -153,12 +153,13 @@
}
this.$store.commit('pushDialogStack', {
component: 'add-creature-property-dialog',
component: 'insert-property-dialog',
elementId: 'insert-creature-property-type-' + forcedType,
data: {
parentDoc: forcedType ? undefined : parent,
forcedType,
creatureId: this.creatureId,
noBackdropClose: true,
},
callback(result){
if (!result){

View File

@@ -150,11 +150,12 @@ export default {
addProperty(){
let parentPropertyId = this._id;
this.$store.commit('pushDialogStack', {
component: 'add-creature-property-dialog',
component: 'insert-property-dialog',
elementId: 'insert-creature-property-btn',
data: {
parentDoc: this.creature,
creatureId: this._id,
noBackdropClose: true,
},
callback(result){
if (!result) return;