summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-02-18 04:52:40 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-02-18 04:52:40 +0900
commitefd0368e568b39ca31d75bc3962e2627681bff13 (patch)
tree65d97e09cf783d0b9df2d7858d30302b5c27150d /src/client/app/common/scripts
parent誰もフォローしていない状態でホームTLを表示したときに... (diff)
downloadsharkey-efd0368e568b39ca31d75bc3962e2627681bff13.tar.gz
sharkey-efd0368e568b39ca31d75bc3962e2627681bff13.tar.bz2
sharkey-efd0368e568b39ca31d75bc3962e2627681bff13.zip
Resolve #4305
Diffstat (limited to 'src/client/app/common/scripts')
-rw-r--r--src/client/app/common/scripts/check-for-update.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/scripts/check-for-update.ts b/src/client/app/common/scripts/check-for-update.ts
index 20da83a0c2..d487915766 100644
--- a/src/client/app/common/scripts/check-for-update.ts
+++ b/src/client/app/common/scripts/check-for-update.ts
@@ -1,8 +1,8 @@
-import { clientVersion as current } from '../../config';
+import { version as current } from '../../config';
export default async function($root: any, force = false, silent = false) {
const meta = await $root.getMeta(force);
- const newer = meta.clientVersion;
+ const newer = meta.version;
if (newer != current) {
localStorage.setItem('should-refresh', 'true');