mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Electron-142 - setting 'N/A' if version number is not available
This commit is contained in:
parent
564950ec92
commit
450992cdf8
@ -22,6 +22,6 @@ ipcRenderer.on('buildVersion', (event, buildVersion) => {
|
|||||||
const version = remote.app.getVersion();
|
const version = remote.app.getVersion();
|
||||||
|
|
||||||
if (versionText) {
|
if (versionText) {
|
||||||
versionText.innerHTML = version ? `Version ${version} (${version}.${buildVersion})` : null;
|
versionText.innerHTML = version ? `Version ${version} (${version}.${buildVersion})` : 'N/A';
|
||||||
}
|
}
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user