Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyatea committed Dec 29, 2024
1 parent ee1350b commit e035f51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/frontend/src/pages/admin/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,11 @@ const menuDef = computed(() => [{
text: i18n.ts.performance,
to: '/admin/performance',
active: currentPage.value?.route.name === 'performance',
}, {
icon: 'ti ti-adjustments',
text: i18n.ts.other,
to: '/admin/other-settings',
active: currentPage.value?.route.name === 'other-settings',
}],
}, {
title: i18n.ts.info,
Expand Down
3 changes: 0 additions & 3 deletions packages/frontend/src/pages/admin/other-settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@ async function init() {
enableChartsForFederatedInstances.value = meta.enableChartsForFederatedInstances;
isManaged.value = meta.isManaged;
requestEmojiAllOk.value = meta.requestEmojiAllOk;
DiscordWebhookUrl.value = meta.DiscordWebhookUrl;
DiscordWebhookUrlWordBlock.value = meta.DiscordWebhookUrlWordBlock;
EmojiBotToken.value = meta.EmojiBotToken;
ApiBase.value = meta.ApiBase;
}

function save() {
Expand Down

0 comments on commit e035f51

Please sign in to comment.