From d59885fc20dc9d57dce6103d4d8d679857ac5ec3 Mon Sep 17 00:00:00 2001 From: Carlos Valente <34649812+cpvalente@users.noreply.github.com> Date: Thu, 7 Mar 2024 19:59:36 +0100 Subject: [PATCH] fix: allow renaming custom field (#803) * fix: allow renaming custom field * style: change time-to-end icon --- .../src/features/rundown/event-block/EventBlockInner.tsx | 4 ++-- apps/server/src/services/rundown-service/rundownCache.ts | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/client/src/features/rundown/event-block/EventBlockInner.tsx b/apps/client/src/features/rundown/event-block/EventBlockInner.tsx index 6e17f7ded..cbf443a46 100644 --- a/apps/client/src/features/rundown/event-block/EventBlockInner.tsx +++ b/apps/client/src/features/rundown/event-block/EventBlockInner.tsx @@ -1,8 +1,8 @@ import { memo, useEffect, useState } from 'react'; import { Tooltip } from '@chakra-ui/react'; -import { BiArrowToBottom } from '@react-icons/all-files/bi/BiArrowToBottom'; import { IoArrowDown } from '@react-icons/all-files/io5/IoArrowDown'; import { IoArrowUp } from '@react-icons/all-files/io5/IoArrowUp'; +import { IoFlag } from '@react-icons/all-files/io5/IoFlag'; import { IoPeople } from '@react-icons/all-files/io5/IoPeople'; import { IoPlay } from '@react-icons/all-files/io5/IoPlay'; import { IoPlayForward } from '@react-icons/all-files/io5/IoPlayForward'; @@ -173,7 +173,7 @@ function TimerIcon(props: { type: TimerType; className: string }) { return ; } if (type === TimerType.TimeToEnd) { - return ; + return } return ; } diff --git a/apps/server/src/services/rundown-service/rundownCache.ts b/apps/server/src/services/rundown-service/rundownCache.ts index 2169af053..6d42244fc 100644 --- a/apps/server/src/services/rundown-service/rundownCache.ts +++ b/apps/server/src/services/rundown-service/rundownCache.ts @@ -404,12 +404,13 @@ export const editCustomField = async (label: string, newField: Partial