From 2ef120f6982e2b6cab467f7c97ce84a56003aee8 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Fri, 19 Aug 2022 11:15:35 +0200 Subject: [PATCH] Show name as it is stored (#3137) --- src/authentication/AuthenticationSection.tsx | 3 +-- src/authentication/FlowDetails.tsx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/authentication/AuthenticationSection.tsx b/src/authentication/AuthenticationSection.tsx index 6ea9776e75..cb33017c46 100644 --- a/src/authentication/AuthenticationSection.tsx +++ b/src/authentication/AuthenticationSection.tsx @@ -21,7 +21,6 @@ import { ViewHeader } from "../components/view-header/ViewHeader"; import { useRealm } from "../context/realm-context/RealmContext"; import { useConfirmDialog } from "../components/confirm-dialog/ConfirmDialog"; import { useAlerts } from "../components/alert/Alerts"; -import { toUpperCase } from "../util"; import useToggle from "../utils/useToggle"; import { DuplicateFlowModal } from "./DuplicateFlowModal"; import { toCreateFlow } from "./routes/CreateFlow"; @@ -161,7 +160,7 @@ export default function AuthenticationSection() { })} key={`link-${id}`} > - {toUpperCase(alias!)} + {alias} {" "} {builtIn && } diff --git a/src/authentication/FlowDetails.tsx b/src/authentication/FlowDetails.tsx index 12a158b5da..6ea02b265a 100644 --- a/src/authentication/FlowDetails.tsx +++ b/src/authentication/FlowDetails.tsx @@ -29,7 +29,6 @@ import type { FlowParams } from "./routes/Flow"; import { ViewHeader } from "../components/view-header/ViewHeader"; import { useAdminClient, useFetch } from "../context/auth/AdminClient"; import { EmptyExecutionState } from "./EmptyExecutionState"; -import { toUpperCase } from "../util"; import { FlowHeader } from "./components/FlowHeader"; import { FlowRow } from "./components/FlowRow"; import { @@ -302,7 +301,7 @@ export default function FlowDetails() { {t(usedBy)} }, builtIn