From d7544c09c4d74fa23d3684c71c72694ea8ea4636 Mon Sep 17 00:00:00 2001 From: Matheus Clemente Date: Tue, 14 Nov 2023 03:20:45 -0300 Subject: [PATCH] Update compendium-browser.js --- src/module/compendium-browser.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/module/compendium-browser.js b/src/module/compendium-browser.js index 90b1fdb..507e65f 100644 --- a/src/module/compendium-browser.js +++ b/src/module/compendium-browser.js @@ -58,12 +58,7 @@ class CompendiumBrowser extends Application { /** @override */ async getData() { - // 0.4.1 Filter as we load to support new way of filtering - // Previously loaded all data and filtered in place; now loads minimal (preload) amount, filtered as we go - // First time (when you press Compendium Browser button) is called with filters unset - - // 0.4.1k: Don't do any item/npc loading until tab is visible - let data = { + return { items: [], npcs: [], spellFilters: this.spellFilters, @@ -77,8 +72,6 @@ class CompendiumBrowser extends Application { settings: this.settings, isGM: game.user.isGM, }; - - return data; } activateItemListListeners(html) {