Locale edit shouldn't be disabled (#2626)
This commit is contained in:
parent
abcafd35b4
commit
0350a2ccf4
2 changed files with 1 additions and 4 deletions
|
@ -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(
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue