mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-16 18:25:04 -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();
|
||||
|
||||
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