[SSE] refactoring

This commit is contained in:
Maxim Kadushkin 2022-12-11 12:11:00 +03:00
parent 955c01d65d
commit a350d98f8f
2 changed files with 2 additions and 2 deletions

View file

@ -503,7 +503,7 @@ define([
return undefined;
},
helpAvailable: function () {
isHelpAvailable: function () {
return !!helpUrl;
},
getDefaultPrinterName: function () {

View file

@ -461,7 +461,7 @@ define([
url = 'resources/help/' + lang + name;
if ( Common.Controllers.Desktop.isActive() ) {
if ( Common.Controllers.Desktop.helpAvailable() )
if ( Common.Controllers.Desktop.isHelpAvailable() )
url = Common.Controllers.Desktop.helpUrl() + name;
else {
const helpCenter = Common.Utils.InternalSettings.get('url-help-center');