Skip to content

Commit

Permalink
Hides unregistered uiSettings in the AS page
Browse files Browse the repository at this point in the history
  • Loading branch information
TinaHeiligers committed Mar 17, 2022
1 parent 0e7be44 commit 291ab96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export class AdvancedSettings extends Component<AdvancedSettingsProps, AdvancedS
});
})
.filter((c) => !c.readOnly)
.filter((c) => !c.isCustom) // hide any settings that aren't explicitly registered by enabled plugins.
.sort(fieldSorter);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@ export function toEditableConfig({
requiresPageReload: !!def.requiresPageReload,
metric: def.metric,
};

return conf;
}

0 comments on commit 291ab96

Please sign in to comment.