login screen package version fix
This commit is contained in:
parent
c0171fe78b
commit
f90f5edcd1
1 changed files with 1 additions and 2 deletions
|
@ -36,9 +36,8 @@ module.exports = Mn.View.extend({
|
||||||
templateContext: {
|
templateContext: {
|
||||||
i18n: i18n,
|
i18n: i18n,
|
||||||
getVersion: function () {
|
getVersion: function () {
|
||||||
const version = require('../../../package.json').version;
|
const version = $('#login').data('version');
|
||||||
return version;
|
return version;
|
||||||
// return $('#login').data('version');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue