This commit is contained in:
ThatOneCalculator 2022-07-25 17:27:57 -07:00
parent 525f81f218
commit 1d900894c8

View File

@ -198,32 +198,32 @@ const headerActions = $computed(() => [{
}, },
}]); }]);
let headerTabs = $computed(() => [{ let theTabs = [{
key: 'overview', key: 'overview',
title: i18n.ts.overview, title: i18n.ts.overview,
icon: 'fas fa-info-circle', icon: 'fas fa-info-circle',
}]); }];
if (iAmModerator) { if (iAmModerator) {
headerTabs.values.apply([{ theTabs.push(
key: 'overview', {
title: i18n.ts.overview, key: 'chart',
icon: 'fas fa-info-circle', title: i18n.ts.charts,
}, { icon: 'fas fa-chart-simple',
key: 'chart', }, {
title: i18n.ts.charts, key: 'users',
icon: 'fas fa-chart-simple', title: i18n.ts.users,
}, { icon: 'fas fa-users',
key: 'users', }, {
title: i18n.ts.users, key: 'raw',
icon: 'fas fa-users', title: 'Raw',
}, { icon: 'fas fa-code',
key: 'raw', },
title: 'Raw', );
icon: 'fas fa-code',
}]);
} }
let headerTabs = $computed(() => theTabs);
definePageMetadata({ definePageMetadata({
title: props.host, title: props.host,
icon: 'fas fa-server', icon: 'fas fa-server',