Fixed the rest

This commit is contained in:
WBHarry 2026-01-27 17:08:36 +01:00
parent ee89d5cb9e
commit b1f2bdbee5
4 changed files with 31 additions and 32 deletions

View file

@ -554,6 +554,7 @@ export default function DHApplicationMixin(Base) {
callback: async (target, _event) => {
const doc = await getDocFromElement(target);
if (doc.type === 'domainCard') {
this.document.setFavoriteItem(doc, false);
} else {
this.document.update({
'system.sidebarFavorites': this.document.system.sidebarFavorites.filter(