This commit is contained in:
WBHarry 2026-02-08 16:08:07 +01:00
parent ed77ae3c91
commit 6b8de21c0b

View file

@ -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();
} }
}
}); });
} }