diff --git a/services/web/frontend/js/ide/connection/ConnectionManager.js b/services/web/frontend/js/ide/connection/ConnectionManager.js index 3505ce0af9..b0c8fbcfb9 100644 --- a/services/web/frontend/js/ide/connection/ConnectionManager.js +++ b/services/web/frontend/js/ide/connection/ConnectionManager.js @@ -248,7 +248,7 @@ export default ConnectionManager = (function () { this.updateConnectionManagerState('inactive') this.shuttingDown = true // prevent reconnection attempts this.$scope.$apply(() => { - this.$scope.permissions.write = false + this.$scope.permissions = { ...this.$scope.permissions, write: false } return (this.$scope.connection.forced_disconnect = true) }) // flush changes before disconnecting