From 6ca49403dfc86de52864d9bd35240cd32087f7e9 Mon Sep 17 00:00:00 2001 From: kevmodrome Date: Thu, 2 Jul 2020 17:28:33 +0200 Subject: [PATCH] adds tab to settings modal on front-end to display API Keys --- .../src/components/settings/Modal.svelte | 7 ++- .../src/components/settings/tabs/API.svelte | 55 +++++++++++++++++++ .../src/components/settings/tabs/index.js | 1 + 3 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 packages/builder/src/components/settings/tabs/API.svelte diff --git a/packages/builder/src/components/settings/Modal.svelte b/packages/builder/src/components/settings/Modal.svelte index 2d832481c3..dc6809f488 100644 --- a/packages/builder/src/components/settings/Modal.svelte +++ b/packages/builder/src/components/settings/Modal.svelte @@ -1,5 +1,5 @@ + +API Keys +
+
+ +
+
+ +
+
+ + diff --git a/packages/builder/src/components/settings/tabs/index.js b/packages/builder/src/components/settings/tabs/index.js index a1d1df38e4..67f79b536c 100644 --- a/packages/builder/src/components/settings/tabs/index.js +++ b/packages/builder/src/components/settings/tabs/index.js @@ -2,4 +2,5 @@ export { default as General } from "./General.svelte" export { default as Integrations } from "./Integrations.svelte" export { default as Permissions } from "./Permissions.svelte" export { default as Users } from "./Users.svelte" +export { default as APIKeys } from "./Api.svelte" export { default as DangerZone } from "./DangerZone.svelte"