mirror of
https://github.com/vrcx-team/VRCX.git
synced 2026-04-06 00:32:02 +02:00
temporary disabled hot-worlds
This commit is contained in:
@@ -31,7 +31,9 @@ export function createBaseDefaultNavLayout(t) {
|
||||
nameKey: 'nav_tooltip.charts',
|
||||
name: t('nav_tooltip.charts'),
|
||||
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: 'direct-access' }
|
||||
|
||||
@@ -44,7 +44,9 @@ export function sanitizeLayout(
|
||||
const normalizedHiddenKeys = normalizeHiddenKeys(hiddenKeys, definitionMap);
|
||||
const hiddenSet = new Set(normalizedHiddenKeys);
|
||||
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) => {
|
||||
if (!key || usedKeys.has(key) || !definitionMap.has(key)) {
|
||||
|
||||
@@ -106,13 +106,14 @@ const navDefinitions = [
|
||||
labelKey: 'view.charts.mutual_friend.tab_label',
|
||||
routeName: 'charts-mutual'
|
||||
},
|
||||
{
|
||||
key: 'charts-hot-worlds',
|
||||
icon: 'ri-fire-line',
|
||||
tooltip: 'view.charts.hot_worlds.tab_label',
|
||||
labelKey: 'view.charts.hot_worlds.tab_label',
|
||||
routeName: 'charts-hot-worlds'
|
||||
},
|
||||
// temporary disabled hot-worlds
|
||||
// {
|
||||
// key: 'charts-hot-worlds',
|
||||
// icon: 'ri-fire-line',
|
||||
// tooltip: 'view.charts.hot_worlds.tab_label',
|
||||
// labelKey: 'view.charts.hot_worlds.tab_label',
|
||||
// routeName: 'charts-hot-worlds'
|
||||
// },
|
||||
{
|
||||
key: 'tools',
|
||||
icon: 'ri-tools-line',
|
||||
|
||||
Reference in New Issue
Block a user