Show name as it is stored (#3137)

This commit is contained in:
Erik Jan de Wit 2022-08-19 11:15:35 +02:00 committed by GitHub
parent 0e03a73d19
commit 2ef120f698
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -21,7 +21,6 @@ import { ViewHeader } from "../components/view-header/ViewHeader";
import { useRealm } from "../context/realm-context/RealmContext"; import { useRealm } from "../context/realm-context/RealmContext";
import { useConfirmDialog } from "../components/confirm-dialog/ConfirmDialog"; import { useConfirmDialog } from "../components/confirm-dialog/ConfirmDialog";
import { useAlerts } from "../components/alert/Alerts"; import { useAlerts } from "../components/alert/Alerts";
import { toUpperCase } from "../util";
import useToggle from "../utils/useToggle"; import useToggle from "../utils/useToggle";
import { DuplicateFlowModal } from "./DuplicateFlowModal"; import { DuplicateFlowModal } from "./DuplicateFlowModal";
import { toCreateFlow } from "./routes/CreateFlow"; import { toCreateFlow } from "./routes/CreateFlow";
@ -161,7 +160,7 @@ export default function AuthenticationSection() {
})} })}
key={`link-${id}`} key={`link-${id}`}
> >
{toUpperCase(alias!)} {alias}
</Link>{" "} </Link>{" "}
{builtIn && <Label key={`label-${id}`}>{t("buildIn")}</Label>} {builtIn && <Label key={`label-${id}`}>{t("buildIn")}</Label>}
</> </>

View file

@ -29,7 +29,6 @@ import type { FlowParams } from "./routes/Flow";
import { ViewHeader } from "../components/view-header/ViewHeader"; import { ViewHeader } from "../components/view-header/ViewHeader";
import { useAdminClient, useFetch } from "../context/auth/AdminClient"; import { useAdminClient, useFetch } from "../context/auth/AdminClient";
import { EmptyExecutionState } from "./EmptyExecutionState"; import { EmptyExecutionState } from "./EmptyExecutionState";
import { toUpperCase } from "../util";
import { FlowHeader } from "./components/FlowHeader"; import { FlowHeader } from "./components/FlowHeader";
import { FlowRow } from "./components/FlowRow"; import { FlowRow } from "./components/FlowRow";
import { import {
@ -302,7 +301,7 @@ export default function FlowDetails() {
<DeleteFlowConfirm /> <DeleteFlowConfirm />
<ViewHeader <ViewHeader
titleKey={toUpperCase(flow?.alias || "")} titleKey={flow?.alias || ""}
badges={[ badges={[
{ text: <Label>{t(usedBy)}</Label> }, { text: <Label>{t(usedBy)}</Label> },
builtIn builtIn