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
feat: descriptive dialog title when moving note(s) (#85)
Abdullah Atta6d606e5768ab
diff --git a/apps/web/src/components/dialogs/move-note-dialog.js b/apps/web/src/components/dialogs/move-note-dialog.jsindex 437c65269..9631bad2d 100644--- a/apps/web/src/components/dialogs/move-note-dialog.js+++ b/apps/web/src/components/dialogs/move-note-dialog.js@@ -4,6 +4,7 @@ import { Input } from "@rebass/forms";import * as Icon from "react-feather";import { db } from "../../common";import Dialog, { showDialog } from "./dialog";+import { toTitleCase } from "../../utils/string";export default class MoveDialog extends React.Component {history = [];@@ -23,7 +24,7 @@ export default class MoveDialog extends React.Component {return (<DialogisOpen={true}- title={"Move Note"}+ title={type === "notes" ? "Move Note" : "Select " + toTitleCase(type.substring(0, type.length - 1))}icon={Icon.Move}content={<Box>