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 { 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>}
|
||||||
</>
|
</>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue