diff --git a/resources/js/app.js b/resources/js/app.js index 338e4f3..43b4030 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -29,7 +29,7 @@ const routes = [ path: '/', component: Settings, meta: { - title: 'App settings', + title: 'Výber miestnosti:', }, }, { diff --git a/resources/js/components/Header.vue b/resources/js/components/Header.vue index 8c4f1c2..8e17ff3 100644 --- a/resources/js/components/Header.vue +++ b/resources/js/components/Header.vue @@ -10,7 +10,7 @@ -
+
- {{ $t('Close') }} + {{ $t('Close') }} {{ $t('Reset') }}
diff --git a/resources/js/stores/InteractionStore.js b/resources/js/stores/InteractionStore.js index c68a01d..bbace73 100644 --- a/resources/js/stores/InteractionStore.js +++ b/resources/js/stores/InteractionStore.js @@ -107,5 +107,8 @@ export const useInteractionStore = defineStore('InteractionStore', { clear() { this.interactions = [] }, + isEmpty() { + return this.interactions.length < 2 // 1 story is always present + } }, })