mirror of
https://github.com/baserow/baserow.git
synced 2026-12-06 09:18:47 +00:00
31 lines
545 B
Vue
31 lines
545 B
Vue
<template>
|
|
<Alert
|
|
simple
|
|
shadow
|
|
type="info"
|
|
icon="exclamation"
|
|
:title="$t('UserSessionExpiredNotification.title')"
|
|
>
|
|
{{ $t('UserSessionExpiredNotification.content') }}
|
|
</Alert>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'UserSessionExpiredNotification',
|
|
mounted() {
|
|
setTimeout(() => {
|
|
this.acknowledge()
|
|
}, 7000)
|
|
},
|
|
beforeDestroy() {
|
|
this.acknowledge()
|
|
},
|
|
methods: {
|
|
acknowledge() {
|
|
this.$store.dispatch('notification/setUserSessionExpired', false)
|
|
},
|
|
},
|
|
}
|
|
</script>
|