A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: Don't show input box in "too many Inbox keys" dialog. (#9817)
Chloe Oletto4f805910c466
diff --git a/apps/web/src/dialogs/settings/components/inbox-api-keys.tsx b/apps/web/src/dialogs/settings/components/inbox-api-keys.tsxindex faa51b975..14c74655b 100644--- a/apps/web/src/dialogs/settings/components/inbox-api-keys.tsx+++ b/apps/web/src/dialogs/settings/components/inbox-api-keys.tsx@@ -34,7 +34,6 @@ import { BaseDialogProps, DialogManager } from "../../../common/dialog-manager";import Dialog from "../../../components/dialog";import { usePromise } from "@notesnook/common";import { ConfirmDialog } from "../../confirm";-import { PromptDialog } from "../../prompt";import { showPasswordDialog } from "../../password-dialog";import { strings } from "@notesnook/intl";@@ -74,10 +73,12 @@ export function InboxApiKeys() {variant="accent"onClick={() => {if (apiKeys.length >= 10) {- PromptDialog.show({+ ConfirmDialog.show({title: "API Keys Limit Reached",- description:- "Cannot create more than 10 api keys at a time. Please revoke some existing keys before creating new ones."+ subtitle:+ "Cannot create more than 10 api keys at a time. Please revoke some existing keys before creating new ones.",+ positiveButtonText:+ strings.ok()});} else {AddApiKeyDialog.show({