Skip to content
Snippets Groups Projects
Commit 72c44289 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

feat: add disabled flag to ImagePicker

parent 6666031f
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
<div
class="tw-absolute tw-inset-0 tw-flex tw-items-end tw-text-white tw-bg-gradient-to-b tw-from-0% tw-to-100% tw-from-transparent tw-to-black/80"
>
<div class="tw-flex tw-items-stretch tw-m-3 tw-gap-3">
<div v-if="!disabled" class="tw-flex tw-items-stretch tw-m-3 tw-gap-3">
<button
type="button"
class="btn btn-sm tw-text-white tw-backdrop-blur tw-bg-black/30 tw-ring-0 hocus:tw-bg-aura-primary/25"
......@@ -41,6 +41,7 @@ import ImagePreview from './ImagePreview.vue'
const props = defineProps<{
modelValue: number | null
disabled?: boolean
}>()
const emit = defineEmits<{
(e: 'update:modelValue', imageId: number | null): void
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment