mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-08-28 17:21:05 +00:00
fix(sidebar): analytics not showing when disabled
This commit is contained in:
@@ -25,7 +25,9 @@ function mergeMenuItemsFromDom(): Record<string, { toggle: boolean }> {
|
||||
}
|
||||
|
||||
function storeMenuSettings(): void {
|
||||
const menuItems: Record<string, { toggle: boolean }> = {};
|
||||
const menuItems: Record<string, { toggle: boolean }> = {
|
||||
...(settingsState.menuitems as Record<string, { toggle: boolean }>),
|
||||
};
|
||||
const inputs = document.querySelectorAll<HTMLInputElement>(".menuitem");
|
||||
for (const input of inputs) {
|
||||
if (input.id) {
|
||||
|
||||
Reference in New Issue
Block a user