Skip to content

Commit

Permalink
Merge pull request #173 from anatawa12/fix-sensitive-channel-cw
Browse files Browse the repository at this point in the history
fix: injecting collapseSensitiveChannel does not work as expected
  • Loading branch information
anatawa12 authored Apr 11, 2024
2 parents 06f015c + 07fb526 commit f60ca03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Enhance: 画像アップロード時に縮小する場合の大きさを2048x2048以下から2560x2560以下に変更しました
- 既存のファイルは更新されず、新規アップロード分にのみ適用されます
- Fix: パブリック投稿をホーム投稿に変更するモデレーション操作がUI上で行えなくなっていた問題を修正
- Fix: `ユーザページでセンシティブチャンネルの投稿を閉じる`設定が無効にならない問題を修正

## 2024.3.1-kinel.1

Expand Down
4 changes: 1 addition & 3 deletions packages/frontend/src/pages/user/index.timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ const props = defineProps<{

const tab = ref<string | null>('all');
const include = ref<string | null>('all');
let collapseSensitiveChannel = ref(defaultStore.state.collapseSensitiveChannel);

provide('collapseSensitiveChannel', collapseSensitiveChannel);
provide<boolean>('collapseSensitiveChannel', defaultStore.state.collapseSensitiveChannel);

const pagination = computed(() => tab.value === 'featured' ? {
endpoint: 'users/featured-notes' as const,
Expand Down

0 comments on commit f60ca03

Please sign in to comment.