Disable update notification
This commit is contained in:
parent
cb71f92f42
commit
e80709f7aa
|
@ -21,12 +21,12 @@ export default async function($root: any, force = false, silent = false) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!silent) {
|
/*if (!silent) {
|
||||||
$root.alert({
|
$root.alert({
|
||||||
title: $root.$t('@.update-available-title'),
|
title: $root.$t('@.update-available-title'),
|
||||||
text: $root.$t('@.update-available', { newer, current })
|
text: $root.$t('@.update-available', { newer, current })
|
||||||
});
|
});
|
||||||
}
|
}*/
|
||||||
|
|
||||||
return newer;
|
return newer;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue