Skip to content

Commit 34b97be

Browse files
committed
fix(settings): restore LDAP periodic sync control in Community Edition
1 parent a5fdfca commit 34b97be

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎src/views/settings/Auth/Ldap/SyncSettingDialog.vue‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import { Dialog } from '@/components'
2323
import { Required } from '@/components/Form/DataForm/rules'
2424
import Select2 from '@/components/Form/FormFields/Select2.vue'
25-
import { crontab, interval, is_periodic } from '@/components/const'
25+
import { crontab, interval } from '@/components/const'
2626
import { GenericCreateUpdateForm } from '@/layout/components'
2727
2828
export default {
@@ -69,7 +69,9 @@ export default {
6969
return !this.$hasLicense()
7070
}
7171
},
72-
AUTH_LDAP_SYNC_IS_PERIODIC: is_periodic,
72+
AUTH_LDAP_SYNC_IS_PERIODIC: {
73+
type: 'checkbox'
74+
},
7375
AUTH_LDAP_SYNC_CRONTAB: crontab,
7476
AUTH_LDAP_SYNC_INTERVAL: interval,
7577
AUTH_LDAP_SYNC_RECEIVERS: {

0 commit comments

Comments
 (0)