client-flow can also be bound (#3379)

fixes: #3295
This commit is contained in:
Erik Jan de Wit 2022-09-26 19:21:03 +02:00 committed by GitHub
parent 9ffa8f8a0e
commit bff01af327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -202,8 +202,7 @@ export default function AuthenticationSection() {
setSelectedFlow(data);
},
},
...(data.usedBy?.type !== "DEFAULT" &&
data.providerId !== "client-flow"
...(data.usedBy?.type !== "DEFAULT"
? [
{
title: t("bindFlow"),

View file

@ -233,7 +233,7 @@ export default function FlowDetails() {
const hasExecutions = executionList?.expandableList.length !== 0;
const dropdownItems = [
...(usedBy !== "default" && flow?.providerId !== "client-flow"
...(usedBy !== "DEFAULT"
? [
<DropdownItem
data-testid="set-as-default"