Skip to content

Commit f57fb6e

Browse files
committed
feat(user_ldap): Disable countInBaseDN button when base is empty
Signed-off-by: Louis Chmn <[email protected]>
1 parent 3906998 commit f57fb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/user_ldap/src/components/SettingsTabs/ServerTab.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<NcButton :disabled="loadingGuessBaseDN" @click="guessBaseDN">
8484
{{ t('user_ldap', 'Detect Base DN') }}
8585
</NcButton>
86-
<NcButton :disabled="loadingCountInBaseDN" @click="countInBaseDN">
86+
<NcButton :disabled="loadingCountInBaseDN || ldapConfigProxy.ldapBase === ''" @click="countInBaseDN">
8787
{{ t('user_ldap', 'Test Base DN') }}
8888
</NcButton>
8989
</div>

0 commit comments

Comments
 (0)