diff --git a/packages/frontend/src/Layout.vue b/packages/frontend/src/Layout.vue index b577ced..25bf871 100755 --- a/packages/frontend/src/Layout.vue +++ b/packages/frontend/src/Layout.vue @@ -54,7 +54,12 @@
-
+
{{ title ?? (serverInfo?.success @@ -187,6 +192,7 @@ main.layout { } .content-header { + display: block; padding: 1rem 1.25rem; font-size: 1.3rem; font-weight: bold; @@ -198,6 +204,10 @@ main.layout { -webkit-user-select: none; } +.content-header.isHidden { + display: none; +} + .route-main { display: flex; flex-direction: column; @@ -256,6 +266,7 @@ const router = useRouter(); const route = useRoute(); const isFullRoute = computed(() => route.meta.isFullRoute === true); +const isHiddenTitleBar = computed(() => route.meta.isHiddenTitleBar === true); watch(route, () => { if (typeof route.meta.title === "string") diff --git a/packages/frontend/src/components/Message.vue b/packages/frontend/src/components/Message.vue index 9c4a6b9..3f12315 100644 --- a/packages/frontend/src/components/Message.vue +++ b/packages/frontend/src/components/Message.vue @@ -151,6 +151,13 @@ const deleteMessage = async () => { resolve(); break; default: + createTopNotice({ + props: { + icon: "material-symbols:error-outline-rounded", + iconColor: "var(--error-color)", + message: "キャンセルしました。", + }, + }); return; } }, diff --git a/packages/frontend/src/main.ts b/packages/frontend/src/main.ts index 0703d2d..5d6d801 100755 --- a/packages/frontend/src/main.ts +++ b/packages/frontend/src/main.ts @@ -58,6 +58,7 @@ const router = createRouter({ meta: { title: "コミュニティ", isFullRoute: true, + isHiddenTitleBar: true, }, component: () => import("@/routes/community/index.vue"), children: [ diff --git a/packages/frontend/src/routes/community/channel.vue b/packages/frontend/src/routes/community/channel.vue index 1267fe2..dfd63a5 100644 --- a/packages/frontend/src/routes/community/channel.vue +++ b/packages/frontend/src/routes/community/channel.vue @@ -9,44 +9,51 @@ v-if="!isProcessing && channel" class="channel" > -
-
- 何ということでしょう!! - メッセージがありませんね!! -
- - - - +
+ + {{ channel.name }}
-
-