mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Prevent duplicate watchlist entries in side menu when using CustomTabs plugin
This commit is contained in:
@@ -7670,7 +7670,7 @@ In the Custom Tabs plugin, add a new tab with the following HTML content:
|
||||
const isCustomTabUrl = watchlistUrl.includes('/home?tab=');
|
||||
|
||||
const options = {
|
||||
sideMenu: watchlistCfg.sideMenu !== false,
|
||||
sideMenu: isCustomTabUrl ? false : watchlistCfg.sideMenu !== false,
|
||||
userMenu: watchlistCfg.userMenu === true,
|
||||
topNavigation: isCustomTabUrl ? 'none' : watchlistCfg.topNavigation,
|
||||
order: watchlistCfg.order
|
||||
|
||||
Reference in New Issue
Block a user