From efd0368e568b39ca31d75bc3962e2627681bff13 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 18 Feb 2019 04:52:40 +0900 Subject: Resolve #4305 --- src/client/app/common/scripts/check-for-update.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/app/common/scripts') 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'); -- cgit v1.2.3-freya