summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/EditApiAccessMethod.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/renderer/components/EditApiAccessMethod.tsx b/gui/src/renderer/components/EditApiAccessMethod.tsx
index 578c8fe31a..f60646ab36 100644
--- a/gui/src/renderer/components/EditApiAccessMethod.tsx
+++ b/gui/src/renderer/components/EditApiAccessMethod.tsx
@@ -88,8 +88,8 @@ function AccessMethodForm() {
}
}, [updatedMethod, save, history.pop]);
- const title = getTitle(id !== undefined);
- const subtitle = getSubtitle(id !== undefined);
+ const title = getTitle(id === undefined);
+ const subtitle = getSubtitle(id === undefined);
return (
<BackAction action={history.pop}>