[PE mobile] refactoring
This commit is contained in:
parent
f44dd4f04a
commit
c30d6056f9
|
@ -24,11 +24,7 @@ class PresentationInfoController extends Component {
|
||||||
const appProps = api.asc_getAppProps();
|
const appProps = api.asc_getAppProps();
|
||||||
|
|
||||||
if (appProps) {
|
if (appProps) {
|
||||||
let appName =
|
return `${!appProps.asc_getApplication() ? '' : appProps.asc_getApplication() + ' ' + appProps.asc_getAppVersion()}`;
|
||||||
(appProps.asc_getApplication() || "") +
|
|
||||||
(appProps.asc_getAppVersion() ? " " : "") +
|
|
||||||
(appProps.asc_getAppVersion() || "");
|
|
||||||
return appName;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue