Resolve minor UI bug in Admin-Config (#18668)

This commit is contained in:
Rajat Talesra 2022-11-05 01:43:24 +05:30 committed by GitHub
parent 240de52884
commit 96d67abf50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,6 +281,8 @@ export default class ConfigController extends Controller {
const enabledIndicator = document.getElementById(
`${providerName}-enabled-indicator`,
);
authEnableButton.innerHTML = 'Enable';
authEnableButton.setAttribute('data-button-text', 'enable');
authEnableButton.setAttribute('data-enable-auth', 'false');
this.listAuthToBeEnabled(event);
this.checkForAndGuardSoleAuthProvider();