mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 01:53:09 +02:00
oops
This commit is contained in:
parent
37e5a9d06a
commit
ad464c9f78
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ export default Vue.extend({
|
|||
if ((this as any).os.isSignedIn) {
|
||||
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
||||
const isHisasiburi = ago >= 3600;
|
||||
(this as any).os.i.last_used_at = new Date();
|
||||
if (isHisasiburi) {
|
||||
(this.$refs.welcomeback as any).style.display = 'block';
|
||||
(this.$refs.main as any).style.overflow = 'hidden';
|
||||
|
|
Loading…
Reference in a new issue