mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 18:18:47 +01:00
teaked platform filter selector in search dialog
This commit is contained in:
@@ -131,6 +131,7 @@ onBeforeUnmount(() => {
|
||||
:disabled="platforms.length == 0"
|
||||
hide-details
|
||||
clearable
|
||||
single-line
|
||||
return-object
|
||||
v-model="selectedPlatform"
|
||||
@update:model-value="filterRoms"
|
||||
@@ -151,6 +152,20 @@ onBeforeUnmount(() => {
|
||||
</template>
|
||||
</v-list-item>
|
||||
</template>
|
||||
<template #selection="{ item }">
|
||||
<v-list-item
|
||||
class="px-0"
|
||||
:title="(item as SelectItem).raw.platform_name ?? ''"
|
||||
>
|
||||
<template #prepend>
|
||||
<platform-icon
|
||||
:size="35"
|
||||
:key="(item as SelectItem).raw.platform_slug"
|
||||
:slug="(item as SelectItem).raw.platform_slug"
|
||||
/>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</template>
|
||||
</v-select>
|
||||
</v-col>
|
||||
<v-col>
|
||||
|
||||
Reference in New Issue
Block a user