Skip to content

Commit

Permalink
fixes a case when form in ACL can't be submitted (#1435)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvorcak authored Sep 6, 2024
1 parent 4d92691 commit 5f15d4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/pages/acls/PrincipalGroupEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export const AclPrincipalGroupEditor = observer((p: {
const [error, setError] = useState(undefined as string | undefined);

const [isFormValid, setIsFormValid] = useState(true);
const [isTopicsValid, setTopicsIsValid] = useState(false);
const [isConsumerGroupsValid, setConsumerGroupsIsValid] = useState(false);
const [isTransactionalIDValid, setTransactionalIDIsValid] = useState(false);
const [isTopicsValid, setTopicsIsValid] = useState(true);
const [isConsumerGroupsValid, setConsumerGroupsIsValid] = useState(true);
const [isTransactionalIDValid, setTransactionalIDIsValid] = useState(true);


const noNameOrNameInUse = (p.type == 'create')
Expand Down

0 comments on commit 5f15d4c

Please sign in to comment.