Fixed so that the delete option is available in the compendium

This commit is contained in:
WBHarry 2026-04-27 15:57:20 +02:00
parent b186f22cc7
commit e264f33d13

View file

@ -531,7 +531,7 @@ export default function DHApplicationMixin(Base) {
visible: element => {
const target = element.closest('[data-item-uuid]');
const doc = getDocFromElementSync(target);
return doc?.isOwner && target.dataset.itemType !== 'beastform';
return doc?.isOwner !== false && target.dataset.itemType !== 'beastform';
},
callback: async (target, event) => {
const doc = await getDocFromElement(target);