This commit is contained in:
WBHarry 2026-02-11 09:45:34 +01:00
parent 09ef7fa96f
commit b0f8442aaa
2 changed files with 46 additions and 29 deletions

View file

@ -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);