Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: injecting collapseSensitiveChannel does not work as expected #173

Merged
merged 3 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: プロフィールページでセンシティブチャンネルの投稿を畳むオプションが切れない
anatawa12 marked this conversation as resolved.
Show resolved Hide resolved

## 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
Loading