Spaces:
Running
Running
Tai Truong
commited on
Commit
·
cb1ee34
1
Parent(s):
ee2bce8
translate to norsk
Browse files
src/frontend/src/components/core/appHeaderComponent/components/FlowMenu/index.tsx
CHANGED
|
@@ -54,6 +54,7 @@ export const MenuBar = ({}: {}): JSX.Element => {
|
|
| 54 |
const onFlowPage = useFlowStore((state) => state.onFlowPage);
|
| 55 |
const setCurrentFlow = useFlowsManagerStore((state) => state.setCurrentFlow);
|
| 56 |
const stopBuilding = useFlowStore((state) => state.stopBuilding);
|
|
|
|
| 57 |
|
| 58 |
const { data: folders, isFetched: isFoldersFetched } = useGetFoldersQuery();
|
| 59 |
|
|
@@ -149,7 +150,7 @@ export const MenuBar = ({}: {}): JSX.Element => {
|
|
| 149 |
className="truncate font-semibold group-hover:text-primary dark:text-[white]"
|
| 150 |
data-testid="flow_name"
|
| 151 |
>
|
| 152 |
-
{currentFlow.name}
|
| 153 |
</div>
|
| 154 |
</div>
|
| 155 |
<IconComponent
|
|
|
|
| 54 |
const onFlowPage = useFlowStore((state) => state.onFlowPage);
|
| 55 |
const setCurrentFlow = useFlowsManagerStore((state) => state.setCurrentFlow);
|
| 56 |
const stopBuilding = useFlowStore((state) => state.stopBuilding);
|
| 57 |
+
const { t } = useTranslation();
|
| 58 |
|
| 59 |
const { data: folders, isFetched: isFoldersFetched } = useGetFoldersQuery();
|
| 60 |
|
|
|
|
| 150 |
className="truncate font-semibold group-hover:text-primary dark:text-[white]"
|
| 151 |
data-testid="flow_name"
|
| 152 |
>
|
| 153 |
+
{t(currentFlow.name)}
|
| 154 |
</div>
|
| 155 |
</div>
|
| 156 |
<IconComponent
|