From 043e95bb39a492b8bc84a53d3948b3cc17720a68 Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Wed, 6 Nov 2024 22:00:25 +0100 Subject: [PATCH] Update frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com> --- frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx b/frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx index 458a5a72..8407c8a3 100644 --- a/frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx +++ b/frontend/src/app/scripts/_components/ScriptInfoBlocks.tsx @@ -17,7 +17,7 @@ import { useMemo, useState } from "react"; const ITEMS_PER_PAGE = 3; -export const getCorrectTypeNaming = (type: string) => { +export const getDisplayValueFromType = (type: string) => { switch (type) { case "ct": return "LXC";