[Fix] Enriched Description IsOwner (#1577)

* Fixed so that secrets are properly enriched for items

* .
This commit is contained in:
WBHarry 2026-01-24 20:20:07 +01:00 committed by GitHub
parent cb998860d9
commit 37ae40be8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

View file

@ -600,7 +600,7 @@ export default function DHApplicationMixin(Base) {
{
relativeTo: isAction ? doc.parent : doc,
rollData: doc.getRollData?.(),
secrets: isAction ? doc.parent.isOwner : doc.isOwner
secrets: isAction ? doc.parent.parent.isOwner : doc.isOwner
}
);
}