mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2024-11-25 06:57:19 +00:00
handle searchable when disabling email support
This commit is contained in:
parent
649c986345
commit
3df9f143ed
@ -41,7 +41,11 @@
|
|||||||
"serverSide": true,
|
"serverSide": true,
|
||||||
"ajax": "{{ url_for('accounts.get') }}",
|
"ajax": "{{ url_for('accounts.get') }}",
|
||||||
"columnDefs": [
|
"columnDefs": [
|
||||||
|
{% if config.USER_ENABLE_EMAIL %}
|
||||||
{ "searchable": false, "targets": [0,7] },
|
{ "searchable": false, "targets": [0,7] },
|
||||||
|
{% else %}
|
||||||
|
{ "searchable": false, "targets": [0,6] },
|
||||||
|
{% endif %}
|
||||||
{ "orderable": false, "targets": [0] }
|
{ "orderable": false, "targets": [0] }
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user