feat: reset select in community page (#339)
* Feat: Add Reset for comminity dropdown * - add translation * refactor --------- Co-authored-by: Rotimi Best <[email protected]>
This commit is contained in:
co-authored by
Rotimi Best
parent
a1b34fc224
commit
b4465afb64
@@ -100,7 +100,10 @@
|
||||
class="w-[25%] h-full"
|
||||
size="xl"
|
||||
label={$t('community.ask.select_course')}
|
||||
items={allCourses.map((course) => ({ id: course.id, text: course.title }))}
|
||||
items={[
|
||||
{ id: '', text: $t('community.all') },
|
||||
...allCourses.map((course) => ({ id: course.id, text: course.title }))
|
||||
]}
|
||||
bind:selectedId
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user