Show name as it is stored (#3137)
This commit is contained in:
parent
0e03a73d19
commit
2ef120f698
2 changed files with 2 additions and 4 deletions
|
@ -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}
|
||||
</Link>{" "}
|
||||
{builtIn && <Label key={`label-${id}`}>{t("buildIn")}</Label>}
|
||||
</>
|
||||
|
|
|
@ -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() {
|
|||
<DeleteFlowConfirm />
|
||||
|
||||
<ViewHeader
|
||||
titleKey={toUpperCase(flow?.alias || "")}
|
||||
titleKey={flow?.alias || ""}
|
||||
badges={[
|
||||
{ text: <Label>{t(usedBy)}</Label> },
|
||||
builtIn
|
||||
|
|
Loading…
Reference in a new issue