mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
temporary disabled hot-worlds
This commit is contained in:
@@ -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' }
|
||||||
|
|||||||
@@ -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)) {
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user