Resolve #4305
This commit is contained in:
parent
a766a57af9
commit
efd0368e56
11 changed files with 10 additions and 17 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue