Locale edit shouldn't be disabled (#2626)

This commit is contained in:
Erik Jan de Wit 2022-05-17 09:51:12 +02:00 committed by GitHub
parent abcafd35b4
commit 0350a2ccf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View file

@ -250,8 +250,6 @@ describe("Realm settings events tab tests", () => {
cy.findByTestId("localization-tab-save").click();
cy.findByTestId("add-bundle-button").click({ force: true });
addBundle();
masthead.checkNotificationMessage(

View file

@ -506,7 +506,6 @@ export const LocalizationTab = ({
toolbarItem={
<Button
data-testid="add-bundle-button"
isDisabled={!formState.isSubmitSuccessful}
onClick={() => setAddMessageBundleModalOpen(true)}
>
{t("addMessageBundle")}
@ -520,7 +519,7 @@ export const LocalizationTab = ({
isOpen={filterDropdownOpen}
className="kc-filter-by-locale-select"
variant={SelectVariant.single}
isDisabled={!formState.isSubmitSuccessful}
isDisabled={!internationalizationEnabled}
onToggle={(isExpanded) => setFilterDropdownOpen(isExpanded)}
onSelect={(_, value) => {
setSelectMenuLocale(value.toString());