Skip to content

Commit

Permalink
fix: don't show settings model if no options
Browse files Browse the repository at this point in the history
  • Loading branch information
pilar6195 committed Jun 19, 2024
1 parent fd38c0a commit a6c7fdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/anilist/settingsPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ registerModule.anilist({

/* Other Settings */

if (module.settingsPage) {
if (module.settingsPage && Object.keys(module.settingsPage).length) {
const cogElement = createElement('div', {
attributes: {
class: 'alextras--module-cog',
Expand Down

0 comments on commit a6c7fdb

Please sign in to comment.