diff --git a/kabinizer-front-end/src/components/DeleteDraw.tsx b/kabinizer-front-end/src/components/DeleteDraw.tsx index 7d2c84e..33cb74b 100644 --- a/kabinizer-front-end/src/components/DeleteDraw.tsx +++ b/kabinizer-front-end/src/components/DeleteDraw.tsx @@ -26,7 +26,7 @@ const DeleteDraw = ({ draw }: { draw: Array }) => { return (
-

Delete or edit draw?

+

Slett eller endre trekning

{draw?.map((draws) => (
@@ -39,10 +39,10 @@ const DeleteDraw = ({ draw }: { draw: Array }) => {
-

Title: {draws?.title}

+

{draws?.title}

{draws?.periods?.map((period) => (
- {`Period: ${formatDate(period?.periodStart)} - + {`Periode ${formatDate(period?.periodStart)} - ${formatDate(period?.periodEnd)}`}
))} diff --git a/kabinizer-front-end/src/components/EditPeriodView.tsx b/kabinizer-front-end/src/components/EditPeriodView.tsx index ac2afc4..d6f8d18 100644 --- a/kabinizer-front-end/src/components/EditPeriodView.tsx +++ b/kabinizer-front-end/src/components/EditPeriodView.tsx @@ -60,7 +60,7 @@ const EditPeriodView = (props: { draw: object }) => { >
{
{
{ return (
{ return (
{ return (
{ onClick={() => handleUpdatePeriods(periods)} type="button" > - Add period + Legg til periode
@@ -305,12 +305,12 @@ const EditPeriodView = (props: { draw: object }) => {
diff --git a/kabinizer-front-end/src/components/NewPeriodView.tsx b/kabinizer-front-end/src/components/NewPeriodView.tsx index 76ba000..7c4223e 100644 --- a/kabinizer-front-end/src/components/NewPeriodView.tsx +++ b/kabinizer-front-end/src/components/NewPeriodView.tsx @@ -43,7 +43,7 @@ const NewPeriodView = () => { >
{
{
{ return (
{ return (
{ return (
{ } type="button" > - Add period + Legg til periode
@@ -265,12 +265,12 @@ const NewPeriodView = () => {
diff --git a/kabinizer-front-end/src/pages/admin/index.tsx b/kabinizer-front-end/src/pages/admin/index.tsx index 80d16ed..4108fa0 100644 --- a/kabinizer-front-end/src/pages/admin/index.tsx +++ b/kabinizer-front-end/src/pages/admin/index.tsx @@ -47,17 +47,17 @@ const Admin = () => {

- Download selected periods + Last ned perioder

{showNewPeriodView && }