diff --git a/src/app/ui/persmission-handler.js b/src/app/ui/persmission-handler.js index dea16694c4..8c38d3aa47 100644 --- a/src/app/ui/persmission-handler.js +++ b/src/app/ui/persmission-handler.js @@ -109,7 +109,7 @@ export class PermissionHandler { this.permissions = this._getFromLocal() if (!this.permissions[to.name]) this.permissions[to.name] = {} if (!this.permissions[to.name][from.name]) return this.openPermission(from, to) - + const { allow, hash } = this.permissions[to.name][from.name] if (!allow) { const warning = notAllowWarning(from, to)