mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
.
This commit is contained in:
parent
ed77ae3c91
commit
6b8de21c0b
1 changed files with 4 additions and 2 deletions
|
|
@ -22,9 +22,11 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
|
||||||
|
|
||||||
this.setupHooks = Hooks.on(socketEvent.Refresh, ({ refreshType }) => {
|
this.setupHooks = Hooks.on(socketEvent.Refresh, ({ refreshType }) => {
|
||||||
if (refreshType === RefreshType.CompendiumBrowser) {
|
if (refreshType === RefreshType.CompendiumBrowser) {
|
||||||
this.render({ force: true });
|
if (this.rendered) {
|
||||||
|
this.render();
|
||||||
this.loadItems();
|
this.loadItems();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue