From c35a017d910eec83b6980497e93fcc833c9af6a1 Mon Sep 17 00:00:00 2001 From: Katja Lutz Date: Wed, 14 Sep 2022 18:47:33 +0200 Subject: [PATCH] feat: implement custom page title setting closes issue #21 --- src/components/Settings/Overlay.tsx | 19 ++++++++++++++++++- src/routes/index.tsx | 13 +++++++++---- src/stores.ts | 8 +++++++- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/src/components/Settings/Overlay.tsx b/src/components/Settings/Overlay.tsx index cdd863c..dc783a1 100644 --- a/src/components/Settings/Overlay.tsx +++ b/src/components/Settings/Overlay.tsx @@ -40,6 +40,7 @@ import { POSITION_TYPE_AGILE, POSITION_TYPE_QUANTITY, PrintType, + printTypeSelectTitles, printTypeTitles, PRINT_TYPE_CONFIRMATION, PRINT_TYPE_INVOICE, @@ -349,6 +350,22 @@ const SettingsOverlay: Component = () => { /> +
+ + setState("project", "title", evt.currentTarget.value) + } + /> +
+