From 678fe505f9685d1d28ec138716972bafb7fcf14d Mon Sep 17 00:00:00 2001 From: geni_jaho Date: Tue, 19 Mar 2024 20:51:25 +0100 Subject: [PATCH] Show tagged icon in photo page --- resources/js/Components/TaggedIcon.vue | 5 +++++ resources/js/Pages/Photos/Index.vue | 5 ++--- resources/js/Pages/Photos/Show.vue | 3 +++ 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 resources/js/Components/TaggedIcon.vue diff --git a/resources/js/Components/TaggedIcon.vue b/resources/js/Components/TaggedIcon.vue new file mode 100644 index 00000000..6ec7efa2 --- /dev/null +++ b/resources/js/Components/TaggedIcon.vue @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/resources/js/Pages/Photos/Index.vue b/resources/js/Pages/Photos/Index.vue index 7948a092..a59eb2f5 100644 --- a/resources/js/Pages/Photos/Index.vue +++ b/resources/js/Pages/Photos/Index.vue @@ -7,6 +7,7 @@ import BulkTag from "@/Pages/Photos/Partials/BulkTag.vue"; import {ref, watch} from "vue"; import PrimaryButton from "@/Components/PrimaryButton.vue"; import SelectInput from "@/Components/SelectInput.vue"; +import TaggedIcon from "@/Components/TaggedIcon.vue"; const props = defineProps({ photos: Object, @@ -166,9 +167,7 @@ const filter = (filters) => { - - - + { class="w-full sm:max-w-2xl sm:overflow-hidden rounded-lg shadow-lg" > + +