Fixed toobar shown in graph mode (#2720)
This commit is contained in:
parent
a7719d1ace
commit
8202f363c5
1 changed files with 63 additions and 59 deletions
|
@ -317,7 +317,7 @@ export default function FlowDetails() {
|
|||
dropdownItems={dropdownItems}
|
||||
/>
|
||||
<PageSection variant="light">
|
||||
{tableView && executionList && hasExecutions && (
|
||||
{executionList && hasExecutions && (
|
||||
<>
|
||||
<Toolbar id="toolbar">
|
||||
<ToolbarContent>
|
||||
|
@ -360,8 +360,9 @@ export default function FlowDetails() {
|
|||
</ToolbarContent>
|
||||
</Toolbar>
|
||||
<DeleteConfirm />
|
||||
{tableView && (
|
||||
<DataList
|
||||
aria-label="flows"
|
||||
aria-label={t("flows")}
|
||||
onDragFinish={(order) => {
|
||||
const withoutHeaderId = order.slice(1);
|
||||
setLiveText(
|
||||
|
@ -410,7 +411,9 @@ export default function FlowDetails() {
|
|||
onAddExecution={(execution, type) =>
|
||||
addExecution(execution.displayName!, type)
|
||||
}
|
||||
onAddFlow={(flow) => addFlow(execution.displayName!, flow)}
|
||||
onAddFlow={(flow) =>
|
||||
addFlow(execution.displayName!, flow)
|
||||
}
|
||||
onDelete={(execution) => {
|
||||
setSelectedExecution(execution);
|
||||
toggleDeleteDialog();
|
||||
|
@ -419,6 +422,7 @@ export default function FlowDetails() {
|
|||
))}
|
||||
</>
|
||||
</DataList>
|
||||
)}
|
||||
{flow && (
|
||||
<>
|
||||
{showAddExecutionDialog && (
|
||||
|
|
Loading…
Reference in a new issue