Skip to content

Commit

Permalink
Do not redisplay splash screen on page reload
Browse files Browse the repository at this point in the history
  • Loading branch information
wkramer committed Feb 15, 2024
1 parent dd6670f commit 02a5629
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/general/SplashScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@

<script lang="ts" setup>
import { useConfigStore } from '@/stores/config'
import { computed, ref } from 'vue'
import { computed } from 'vue'
import { useRouter } from 'vue-router'
import { useStorage } from '@vueuse/core'
interface Props {
imgUrl: string
Expand All @@ -29,7 +30,7 @@ defineProps<Props>()
const router = useRouter()
const showDialog = ref(true)
const showDialog = useStorage('fews-weboc-oc:splash-screen', true)
const termsPath = 'terms-of-use'
const configStore = useConfigStore()
Expand Down

0 comments on commit 02a5629

Please sign in to comment.