Fixed local reload

This commit is contained in:
WBHarry 2026-02-08 17:14:31 +01:00
parent 5befeb0aa1
commit 6fede9174b
2 changed files with 5 additions and 2 deletions

View file

@ -531,7 +531,10 @@ export class ItemBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
static async openSettings() {
const settingsUpdated = await game.system.api.applications.dialogs.CompendiumBrowserSettingsDialog.configure();
if (settingsUpdated) {
Hooks.callAll(socketEvent.Refresh, { refreshType: RefreshType.CompendiumBrowser });
if (this.rendered) {
this.render();
this.loadItems();
}
await game.socket.emit(`system.${CONFIG.DH.id}`, {
action: socketEvent.Refresh,
data: {