mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
fix(developers): Display dev version while using development environment.
This commit is contained in:
parent
2442514c16
commit
d87abc4736
@ -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' : ''}`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user