summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-26 18:32:24 +0900
committerこぴなたみぽ <syuilotan@yahoo.co.jp>2018-02-26 18:32:24 +0900
commitad464c9f78d0e76201ec52247ab0da5e6aa02e4c (patch)
tree15964889e4916721d8f91670e9f0b722426e8247 /src/web
parentFix bug (diff)
downloadsharkey-ad464c9f78d0e76201ec52247ab0da5e6aa02e4c.tar.gz
sharkey-ad464c9f78d0e76201ec52247ab0da5e6aa02e4c.tar.bz2
sharkey-ad464c9f78d0e76201ec52247ab0da5e6aa02e4c.zip
oops
Diffstat (limited to 'src/web')
-rw-r--r--src/web/app/desktop/views/components/ui.header.vue1
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';