From c385810afab3746ae7c040ea00ec52b00baa278d Mon Sep 17 00:00:00 2001 From: Nassim Tabchiche Date: Sun, 12 May 2024 16:44:48 +0200 Subject: [PATCH] Fix typing in crud.ts --- frontend/src/lib/utils/crud.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/utils/crud.ts b/frontend/src/lib/utils/crud.ts index 2dec58a48..cbd7a0b69 100644 --- a/frontend/src/lib/utils/crud.ts +++ b/frontend/src/lib/utils/crud.ts @@ -47,8 +47,8 @@ export const getOptions = ({ label: string; value: string; suggested: boolean; - self: Record; - selfSelect: boolean; + self?: Record; + selfSelect?: boolean; }[] => { const options = objects .map((object) => {