fix: Asset type selector dropdown #6413; asset entry layout; asset download content disposition (#6595)

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
Simon Lam
2025-11-29 10:13:26 -06:00
committed by GitHub
parent 07ecd88685
commit 5b65ceda93
2 changed files with 11 additions and 10 deletions

View File

@@ -28,11 +28,12 @@
<v-list-item-title class="pl-2">
{{ item.name }}
</v-list-item-title>
<v-list-item-action>
<template #append>
<v-btn
v-if="!edit"
color="primary"
icon
size="small"
:href="assetURL(item.fileName ?? '')"
target="_blank"
top
@@ -43,6 +44,7 @@
<v-btn
color="error"
icon
size="small"
top
@click="model.splice(i, 1)"
>
@@ -53,7 +55,7 @@
:copy-text="assetEmbed(item.fileName ?? '')"
/>
</div>
</v-list-item-action>
</template>
</v-list-item>
</v-list>
</v-card>
@@ -90,13 +92,12 @@
item-value="name"
class="mr-2"
>
<template #item="{ item }">
<v-avatar>
<v-icon class="mr-auto">
{{ item.raw.icon }}
</v-icon>
</v-avatar>
{{ item.title }}
<template #item="{ item, props }">
<v-list-item v-bind="props">
<template #prepend>
<v-icon>{{ item.raw.icon }}</v-icon>
</template>
</v-list-item>
</template>
</v-select>
<AppButtonUpload