fix(developers): Display dev version while using development environment.

This commit is contained in:
Quentin Decaunes 2019-08-17 17:42:35 +02:00
parent 2442514c16
commit d87abc4736

View File

@ -477,7 +477,7 @@ function registerEventListenerForSettingsInput() {
*/
function displayVersion() {
const pjson = require('./package.json');
document.getElementById('version').innerHTML = `v${pjson.version}`;
document.getElementById('version').innerHTML = `v${pjson.version}${isDevMode() ? '-dev' : ''}`;
}
/**