Hide empty sub-menus from Foundry's settings app

This commit is contained in:
Oliver 2025-12-26 00:43:53 -07:00
parent 00af9286d4
commit 9c19306cc1
4 changed files with 16 additions and 2 deletions

View file

@ -47,6 +47,10 @@ export class OFTSettingsMenu extends HAM(ApplicationV2) {
};
static _SETTINGS = [];
static get isEmpty() {
return this._SETTINGS.length === 0;
};
// #endregion Options
// #region Data Prep