diff options
| author | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2018-02-26 18:32:24 +0900 |
|---|---|---|
| committer | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2018-02-26 18:32:24 +0900 |
| commit | ad464c9f78d0e76201ec52247ab0da5e6aa02e4c (patch) | |
| tree | 15964889e4916721d8f91670e9f0b722426e8247 /src | |
| parent | Fix bug (diff) | |
| download | sharkey-ad464c9f78d0e76201ec52247ab0da5e6aa02e4c.tar.gz sharkey-ad464c9f78d0e76201ec52247ab0da5e6aa02e4c.tar.bz2 sharkey-ad464c9f78d0e76201ec52247ab0da5e6aa02e4c.zip | |
oops
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/desktop/views/components/ui.header.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/web/app/desktop/views/components/ui.header.vue b/src/web/app/desktop/views/components/ui.header.vue index c83eb925b2..0ce8459c78 100644 --- a/src/web/app/desktop/views/components/ui.header.vue +++ b/src/web/app/desktop/views/components/ui.header.vue @@ -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'; |