Skip to content

Commit

Permalink
enhance(frontend): デッキのTLコラムではなみTLを使えるように (#179)
Browse files Browse the repository at this point in the history
* enhance(frontend): デッキのTLコラムではなみTLを使えるように

* fix condition
  • Loading branch information
kakkokari-gtyih authored Dec 29, 2024
1 parent 5577f44 commit 9072c4b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/frontend/src/ui/deck/tl-column.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ import { instance } from '@/instance.js';
import { SoundStore } from '@/store.js';
import { soundSettingsButton } from '@/ui/deck/tl-note-notification.js';
import * as sound from '@/scripts/sound.js';
import { signinRequired } from '@/account.js';

const $i = signinRequired();

const props = defineProps<{
column: Column;
Expand Down Expand Up @@ -97,7 +100,9 @@ async function setType() {
title: i18n.ts.timeline,
items: [{
value: 'home' as const, text: i18n.ts._timelines.home,
}, {
}, ...($i.policies.hanamiTlAvailable ? [{
value: 'hanami' as const, text: i18n.ts._timelines.hanami,
}] : []), {
value: 'local' as const, text: i18n.ts._timelines.local,
}, {
value: 'social' as const, text: i18n.ts._timelines.social,
Expand Down

0 comments on commit 9072c4b

Please sign in to comment.