temporary disabled hot-worlds

This commit is contained in:
pa
2026-03-17 10:27:37 +09:00
parent a815e88933
commit f582135303
3 changed files with 14 additions and 9 deletions

View File

@@ -31,7 +31,9 @@ export function createBaseDefaultNavLayout(t) {
nameKey: 'nav_tooltip.charts', nameKey: 'nav_tooltip.charts',
name: t('nav_tooltip.charts'), name: t('nav_tooltip.charts'),
icon: 'ri-pie-chart-line', icon: 'ri-pie-chart-line',
items: ['charts-instance', 'charts-mutual', 'charts-hot-worlds'] // temporary disabled hot-worlds
// items: ['charts-instance', 'charts-mutual', 'charts-hot-worlds']
items: ['charts-instance', 'charts-mutual']
}, },
{ type: 'item', key: 'tools' }, { type: 'item', key: 'tools' },
{ type: 'item', key: 'direct-access' } { type: 'item', key: 'direct-access' }

View File

@@ -44,7 +44,9 @@ export function sanitizeLayout(
const normalizedHiddenKeys = normalizeHiddenKeys(hiddenKeys, definitionMap); const normalizedHiddenKeys = normalizeHiddenKeys(hiddenKeys, definitionMap);
const hiddenSet = new Set(normalizedHiddenKeys); const hiddenSet = new Set(normalizedHiddenKeys);
const normalized = []; const normalized = [];
const chartsKeys = ['charts-instance', 'charts-mutual', 'charts-hot-worlds']; // temporary disabled hot-worlds
// const chartsKeys = ['charts-instance', 'charts-mutual', 'charts-hot-worlds'];
const chartsKeys = ['charts-instance', 'charts-mutual'];
const appendItemEntry = (key, target = normalized) => { const appendItemEntry = (key, target = normalized) => {
if (!key || usedKeys.has(key) || !definitionMap.has(key)) { if (!key || usedKeys.has(key) || !definitionMap.has(key)) {

View File

@@ -106,13 +106,14 @@ const navDefinitions = [
labelKey: 'view.charts.mutual_friend.tab_label', labelKey: 'view.charts.mutual_friend.tab_label',
routeName: 'charts-mutual' routeName: 'charts-mutual'
}, },
{ // temporary disabled hot-worlds
key: 'charts-hot-worlds', // {
icon: 'ri-fire-line', // key: 'charts-hot-worlds',
tooltip: 'view.charts.hot_worlds.tab_label', // icon: 'ri-fire-line',
labelKey: 'view.charts.hot_worlds.tab_label', // tooltip: 'view.charts.hot_worlds.tab_label',
routeName: 'charts-hot-worlds' // labelKey: 'view.charts.hot_worlds.tab_label',
}, // routeName: 'charts-hot-worlds'
// },
{ {
key: 'tools', key: 'tools',
icon: 'ri-tools-line', icon: 'ri-tools-line',