mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
.
This commit is contained in:
parent
09ef7fa96f
commit
b0f8442aaa
2 changed files with 46 additions and 29 deletions
|
|
@ -511,7 +511,7 @@ export default function DHApplicationMixin(Base) {
|
|||
icon: 'fa-solid fa-trash',
|
||||
condition: target => {
|
||||
const doc = getDocFromElementSync(target);
|
||||
return doc && doc.type !== 'beastform';
|
||||
return !doc || doc.type !== 'beastform';
|
||||
},
|
||||
callback: async (target, event) => {
|
||||
const doc = await getDocFromElement(target);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue