login screen package version fix

This commit is contained in:
Rami Winestock
2023-12-15 06:43:35 +02:00
parent c0171fe78b
commit f90f5edcd1

View File

@@ -36,9 +36,8 @@ module.exports = Mn.View.extend({
templateContext: {
i18n: i18n,
getVersion: function () {
const version = require('../../../package.json').version;
const version = $('#login').data('version');
return version;
// return $('#login').data('version');
}
}
});