Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -343,7 +343,7 @@ Format.prototype.immediateRefresh = function () { |
343 | 343 | var cells = ss.cells || [] |
344 | 344 | var currentCell = cells[0] |
345 | 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 | 348 | label.style.backgroundColor = Format.inactiveTabBackgroundColor; |
349 | 349 | label.style.borderLeftWidth = '1px'; | ... | ... |