From 51c417b46b670ae1a7e74f7e9350f49873c242bf Mon Sep 17 00:00:00 2001 From: James Chang Date: Thu, 15 Apr 2021 08:47:54 -0400 Subject: [PATCH] Programmatically make apiKey permissions field optional --- frontend/models/apiKey.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/models/apiKey.ts b/frontend/models/apiKey.ts index 3d30e03..1b66a54 100644 --- a/frontend/models/apiKey.ts +++ b/frontend/models/apiKey.ts @@ -21,7 +21,8 @@ export const ApiKey = >{ component: CopyableColumn, }, permissions: { - text: 'Permissions (optional)', + text: 'Permissions', + optional: true, hint: 'Only use this to specify custom permissions, comma-separated', serialize: (val: string[]) => val && val.join(','), parseValue: (val: string) =>