diff --git a/web/satellite/src/components/accessGrants/AccessGrants.vue b/web/satellite/src/components/accessGrants/AccessGrants.vue index 0d92cf8bb..7c79ec612 100644 --- a/web/satellite/src/components/accessGrants/AccessGrants.vue +++ b/web/satellite/src/components/accessGrants/AccessGrants.vue @@ -5,7 +5,7 @@

Access Grants

-
+
go.run(result.ins self.onmessage = function (event) { const type = event.data.type; + let result; switch (type) { case 'GenerateAccess': - const result = self.generateAccessGrant(); + result = self.generateAccessGrant(); + + self.postMessage(result); + break; + case 'NewPermission': + result = self.newPermission(); + + self.postMessage(result); + break; + case 'SetPermission': + result = self.setAPIKeyPermission(); self.postMessage(result); break;