parent
9ffa8f8a0e
commit
bff01af327
2 changed files with 2 additions and 3 deletions
|
@ -202,8 +202,7 @@ export default function AuthenticationSection() {
|
||||||
setSelectedFlow(data);
|
setSelectedFlow(data);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
...(data.usedBy?.type !== "DEFAULT" &&
|
...(data.usedBy?.type !== "DEFAULT"
|
||||||
data.providerId !== "client-flow"
|
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
title: t("bindFlow"),
|
title: t("bindFlow"),
|
||||||
|
|
|
@ -233,7 +233,7 @@ export default function FlowDetails() {
|
||||||
const hasExecutions = executionList?.expandableList.length !== 0;
|
const hasExecutions = executionList?.expandableList.length !== 0;
|
||||||
|
|
||||||
const dropdownItems = [
|
const dropdownItems = [
|
||||||
...(usedBy !== "default" && flow?.providerId !== "client-flow"
|
...(usedBy !== "DEFAULT"
|
||||||
? [
|
? [
|
||||||
<DropdownItem
|
<DropdownItem
|
||||||
data-testid="set-as-default"
|
data-testid="set-as-default"
|
||||||
|
|
Loading…
Reference in a new issue