mirror of
https://github.com/modrinth/code.git
synced 2026-08-31 03:55:59 +00:00
feat: moderation settings (#6895)
* feat: moderation settings * chore: move moderation specific feature flag to settings * feat: force open collapsed regions if opened in new tab * chore: remove unused field * chore: run prepr
This commit is contained in:
@@ -94,6 +94,7 @@ const props = defineProps<{
|
||||
focusedDetailId?: string | null
|
||||
loadingIssues: Set<string>
|
||||
decompiledSources: Map<string, string>
|
||||
collapsed: boolean
|
||||
}>()
|
||||
|
||||
const { addNotification } = injectNotificationManager()
|
||||
@@ -173,7 +174,7 @@ type Tab = 'Thread' | 'Files' | 'File'
|
||||
const tabs: readonly ('Thread' | 'Files')[] = ['Thread', 'Files']
|
||||
const currentTab = ref<Tab>('Thread')
|
||||
|
||||
const isThreadCollapsed = ref(true)
|
||||
const isThreadCollapsed = ref(props.collapsed)
|
||||
|
||||
const remainingMessageCount = computed(() => {
|
||||
if (!props.item.thread?.messages) return 0
|
||||
|
||||
Reference in New Issue
Block a user