Minor fix

This commit is contained in:
redphx 2024-04-05 21:43:06 +07:00
parent 6f8f425003
commit 66695b2fc2

View File

@ -10575,7 +10575,7 @@ function injectSettingsButton($parent) {
for (let settingId in SETTINGS_UI[groupLabel]) {
// Don't render custom settings
if (settingId === 'undefined' || settingId.startsWith('_')) {
if (!settingId || settingId === 'undefined' || settingId.startsWith('_')) {
continue;
}