Hide empty sub-menus from Foundry's settings app
This commit is contained in:
parent
00af9286d4
commit
9c19306cc1
4 changed files with 16 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue