summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/user/index.vue
diff options
context:
space:
mode:
authorGrapeApple0 <84321396+GrapeApple0@users.noreply.github.com>2023-08-21 20:23:09 +0900
committerGitHub <noreply@github.com>2023-08-21 20:23:09 +0900
commit70a78009270df3ff9a76e84a4e2dd0837a1b5f46 (patch)
tree60440113ef1d45f2b30b2abf0711dec613ec2b6d /packages/frontend/src/pages/user/index.vue
parentUpdate CHANGELOG.md (diff)
downloadmisskey-70a78009270df3ff9a76e84a4e2dd0837a1b5f46.tar.gz
misskey-70a78009270df3ff9a76e84a4e2dd0837a1b5f46.tar.bz2
misskey-70a78009270df3ff9a76e84a4e2dd0837a1b5f46.zip
プロフィールにその人が作ったPlayの一覧出せるように (#11445)
* プロフィールにその人が作ったPlayの一覧出せるように * Update CHANGELOG.md * playの公開範囲を設定できるように * 間違えて変更してしまったのを修正 * Update packages/frontend/src/pages/flash/flash-edit.vue * Update packages/frontend/src/pages/flash/flash-edit.vue * tweak * Update packages/backend/migration/1690796169261-play-visibility.js * Update packages/backend/src/models/entities/Flash.ts * Update packages/backend/src/models/entities/Flash.ts * Update Flash.ts --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'packages/frontend/src/pages/user/index.vue')
-rw-r--r--packages/frontend/src/pages/user/index.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/frontend/src/pages/user/index.vue b/packages/frontend/src/pages/user/index.vue
index 314548fee3..c014897a24 100644
--- a/packages/frontend/src/pages/user/index.vue
+++ b/packages/frontend/src/pages/user/index.vue
@@ -16,6 +16,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<XClips v-else-if="tab === 'clips'" :user="user"/>
<XLists v-else-if="tab === 'lists'" :user="user"/>
<XPages v-else-if="tab === 'pages'" :user="user"/>
+ <XFlashs v-else-if="tab === 'flashs'" :user="user"/>
<XGallery v-else-if="tab === 'gallery'" :user="user"/>
</div>
<MkError v-else-if="error" @retry="fetchUser()"/>
@@ -42,6 +43,7 @@ const XReactions = defineAsyncComponent(() => import('./reactions.vue'));
const XClips = defineAsyncComponent(() => import('./clips.vue'));
const XLists = defineAsyncComponent(() => import('./lists.vue'));
const XPages = defineAsyncComponent(() => import('./pages.vue'));
+const XFlashs = defineAsyncComponent(() => import('./flashs.vue'));
const XGallery = defineAsyncComponent(() => import('./gallery.vue'));
const props = withDefaults(defineProps<{
@@ -104,6 +106,10 @@ const headerTabs = $computed(() => user ? [{
title: i18n.ts.pages,
icon: 'ti ti-news',
}, {
+ key: 'flashs',
+ title: 'Play',
+ icon: 'ti ti-player-play',
+}, {
key: 'gallery',
title: i18n.ts.gallery,
icon: 'ti ti-icons',