This commit is contained in:
2023-04-18 13:52:36 +10:00
parent b4c97c20d6
commit 475ea08517

View File

@@ -5,6 +5,7 @@
<SMInput <SMInput
v-model="filterKeywords" v-model="filterKeywords"
label="Keywords" label="Keywords"
:show-clear="true"
@change="handleFilter" /> @change="handleFilter" />
<SMInput <SMInput
v-model="filterLocation" v-model="filterLocation"
@@ -35,7 +36,7 @@
<SMPanel <SMPanel
v-for="item in events" v-for="item in events"
:key="item.event.id" :key="item.event.id"
:to="{ name: 'event-view', params: { id: item.event.id } }" :to="{ name: 'event', params: { id: item.event.id } }"
:title="item.event.title" :title="item.event.title"
:image="mediaGetVariantUrl(item.event.hero, 'medium')" :image="mediaGetVariantUrl(item.event.hero, 'medium')"
:show-time="true" :show-time="true"
@@ -57,7 +58,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { reactive, ref, watch } from "vue"; import { reactive, ref, watch } from "vue";
import SMInput from "../depreciated/SMInput-old.vue"; import SMInput from "../components/SMInput.vue";
import SMMessage from "../components/SMMessage.vue"; import SMMessage from "../components/SMMessage.vue";
import SMPagination from "../components/SMPagination.vue"; import SMPagination from "../components/SMPagination.vue";
import SMPanel from "../components/SMPanel.vue"; import SMPanel from "../components/SMPanel.vue";