Disable update notification
This commit is contained in:
parent
147c5842fe
commit
b4d83975ae
1 changed files with 2 additions and 2 deletions
|
@ -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