fix: update collections in home on admin modification

This commit is contained in:
lesion 2025-01-28 16:49:47 +01:00
parent b5869eb643
commit cce7adbf0e
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -42,13 +42,13 @@ export default {
data: ({ $store }) => ({
oldRoute: '',
mdiClose, mdiCog, mdiMagnify,
collections: $store.state.collections,
show_recurrent: $store.state.settings.recurrent_event_visible,
show_multidate: true,
query: ''
}),
components: { Calendar },
computed: {
...mapState(['collections']),
showSearchBar () {
return ['index'].includes(this.$route.name)
},