mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 23:08:12 +09:00
fix
This commit is contained in:
parent
525f81f218
commit
1d900894c8
@ -198,18 +198,15 @@ const headerActions = $computed(() => [{
|
||||
},
|
||||
}]);
|
||||
|
||||
let headerTabs = $computed(() => [{
|
||||
let theTabs = [{
|
||||
key: 'overview',
|
||||
title: i18n.ts.overview,
|
||||
icon: 'fas fa-info-circle',
|
||||
}]);
|
||||
}];
|
||||
|
||||
if (iAmModerator) {
|
||||
headerTabs.values.apply([{
|
||||
key: 'overview',
|
||||
title: i18n.ts.overview,
|
||||
icon: 'fas fa-info-circle',
|
||||
}, {
|
||||
theTabs.push(
|
||||
{
|
||||
key: 'chart',
|
||||
title: i18n.ts.charts,
|
||||
icon: 'fas fa-chart-simple',
|
||||
@ -221,9 +218,12 @@ if (iAmModerator) {
|
||||
key: 'raw',
|
||||
title: 'Raw',
|
||||
icon: 'fas fa-code',
|
||||
}]);
|
||||
},
|
||||
);
|
||||
}
|
||||
|
||||
let headerTabs = $computed(() => theTabs);
|
||||
|
||||
definePageMetadata({
|
||||
title: props.host,
|
||||
icon: 'fas fa-server',
|
||||
|
Loading…
Reference in New Issue
Block a user