Showing
1 changed file
with
1 additions
and
1 deletions
@@ -343,7 +343,7 @@ Format.prototype.immediateRefresh = function () { | @@ -343,7 +343,7 @@ Format.prototype.immediateRefresh = function () { | ||
343 | var cells = ss.cells || [] | 343 | var cells = ss.cells || [] |
344 | var currentCell = cells[0] | 344 | var currentCell = cells[0] |
345 | var { COMPONENT_KEY } = window.CellAttributeKeyEnum | 345 | var { COMPONENT_KEY } = window.CellAttributeKeyEnum |
346 | - var hasDataSourceBindPanel = !!(cells.length === 1 && currentCell && currentCell.getValue() && currentCell.getAttribute(COMPONENT_KEY)) | 346 | + var hasDataSourceBindPanel = !!(cells.length === 1 && currentCell && currentCell.getValue() && currentCell.getAttribute(COMPONENT_KEY)) && this.editorUi?.permissionInfo?.hasDesignAuth !== false |
347 | 347 | ||
348 | label.style.backgroundColor = Format.inactiveTabBackgroundColor; | 348 | label.style.backgroundColor = Format.inactiveTabBackgroundColor; |
349 | label.style.borderLeftWidth = '1px'; | 349 | label.style.borderLeftWidth = '1px'; |