feat: add community publishing and news syndication
This commit is contained in:
@@ -7,7 +7,8 @@
|
||||
label = 'REPORT',
|
||||
result,
|
||||
plain = false,
|
||||
menuItem = false
|
||||
menuItem = false,
|
||||
itemId = ''
|
||||
}: {
|
||||
contentType: 'comment' | 'profile_bio' | 'guide' | 'avatar';
|
||||
contentId: string;
|
||||
@@ -15,6 +16,7 @@
|
||||
result?: Record<string, unknown> | null;
|
||||
plain?: boolean;
|
||||
menuItem?: boolean;
|
||||
itemId?: string;
|
||||
} = $props();
|
||||
|
||||
const categories = [
|
||||
@@ -48,6 +50,7 @@
|
||||
{#snippet children(pending)}
|
||||
<input type="hidden" name="contentType" value={contentType}/>
|
||||
<input type="hidden" name="contentId" value={contentId}/>
|
||||
{#if itemId}<input type="hidden" name="itemId" value={itemId}/>{/if}
|
||||
<label class="field">CONCERN
|
||||
<select name="category" required>
|
||||
{#each categories as category}<option value={category.value}>{category.label}</option>{/each}
|
||||
|
||||
Reference in New Issue
Block a user