mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 22:46:12 +01:00
Fixed the rest
This commit is contained in:
parent
ee89d5cb9e
commit
b1f2bdbee5
4 changed files with 31 additions and 32 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue