From d87abc47361c574790a13a0b08a63378091c3759 Mon Sep 17 00:00:00 2001 From: Quentin Decaunes Date: Sat, 17 Aug 2019 17:42:35 +0200 Subject: [PATCH] fix(developers): Display dev version while using development environment. --- js/methods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/methods.js b/js/methods.js index 85cb0d9..1d4051f 100644 --- a/js/methods.js +++ b/js/methods.js @@ -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' : ''}`; } /**