Skip to content

Commit

Permalink
fix: console error (#251)
Browse files Browse the repository at this point in the history
Fixes: #250
  • Loading branch information
yanaminkova committed Aug 30, 2023
1 parent db12f63 commit 9bfafde
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/vendor/ToolsAPI.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ sap.ui.define(["jquery.sap.global", "sap/ui/core/ElementMetadata"],

function _getDebugModeInfo() {
// check URI param

if (!BaseConfig) {
return false;
}

var vDebugInfo = BaseConfig.get({
name: 'sapUiDebug',
type: BaseConfig.Type.String,
Expand Down

0 comments on commit 9bfafde

Please sign in to comment.