summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/channel-editor.vue
diff options
context:
space:
mode:
authortaiy <53635909+taiyme@users.noreply.github.com>2024-02-16 16:17:09 +0900
committerGitHub <noreply@github.com>2024-02-16 16:17:09 +0900
commit860e8bb5d84c02276dba7631b30fcf06b434e98a (patch)
treed10966c19b91b52e447ba1d495eaf6fae276ace2 /packages/frontend/src/pages/channel-editor.vue
parentfix(ci): publish docker image fails (3) (#13327) (diff)
downloadmisskey-860e8bb5d84c02276dba7631b30fcf06b434e98a.tar.gz
misskey-860e8bb5d84c02276dba7631b30fcf06b434e98a.tar.bz2
misskey-860e8bb5d84c02276dba7631b30fcf06b434e98a.zip
fix(frontend/pageMetadata): ページタイトルが更新されない問題 (#13289)
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
Diffstat (limited to 'packages/frontend/src/pages/channel-editor.vue')
-rw-r--r--packages/frontend/src/pages/channel-editor.vue7
1 files changed, 2 insertions, 5 deletions
diff --git a/packages/frontend/src/pages/channel-editor.vue b/packages/frontend/src/pages/channel-editor.vue
index 1c0da4f9bd..d3f4a65b89 100644
--- a/packages/frontend/src/pages/channel-editor.vue
+++ b/packages/frontend/src/pages/channel-editor.vue
@@ -202,11 +202,8 @@ const headerActions = computed(() => []);
const headerTabs = computed(() => []);
-definePageMetadata(computed(() => props.channelId ? {
- title: i18n.ts._channel.edit,
- icon: 'ti ti-device-tv',
-} : {
- title: i18n.ts._channel.create,
+definePageMetadata(() => ({
+ title: props.channelId ? i18n.ts._channel.edit : i18n.ts._channel.create,
icon: 'ti ti-device-tv',
}));
</script>