Fixed various action calling issues
This commit is contained in:
@@ -229,6 +229,7 @@ export default {
|
||||
creatureId: this.model.root.id,
|
||||
$store: this.$store,
|
||||
elementId: `${this.model._id}-do-action-button`,
|
||||
targetIds: [],
|
||||
}).catch((e) => {
|
||||
console.error(e);
|
||||
}).finally(() => {
|
||||
|
||||
@@ -50,6 +50,7 @@ export default {
|
||||
creatureId: this.model.root.id,
|
||||
$store: this.$store,
|
||||
elementId: `event-btn-${this.model._id}`,
|
||||
targetIds: [],
|
||||
}).catch(error => {
|
||||
snackbar({ text: error.reason || error.message || error.toString() });
|
||||
console.error(error);
|
||||
|
||||
Reference in New Issue
Block a user