Order filter-users presets by "name" (asc) + little fixes
This commit is contained in:
parent
b365cd46d2
commit
c59d25e93a
|
@ -308,7 +308,10 @@ table.fields tr.verified td .fa.fa-check::before {
|
|||
}
|
||||
#window-instance #container .card {
|
||||
margin-bottom: 1em;
|
||||
max-width: 40em;
|
||||
max-width: 50em;
|
||||
}
|
||||
#window-instance #filters-all {
|
||||
max-width: 50em;
|
||||
}
|
||||
#window-instance #container #new-accounts .card {
|
||||
width: calc(100vw - 4em);
|
||||
|
|
|
@ -477,6 +477,7 @@ window.view.instance = {
|
|||
}
|
||||
E.custom.btncollapse_render();
|
||||
http.get('api/v1/config/filters/get?type=users', {}, function(js) {
|
||||
js = js.sort((a,b) => a.preset_name.localeCompare(b.preset_name));
|
||||
window.vars.user_filters = js;
|
||||
E.template('filters-all', function(TPL) {
|
||||
var html = '';
|
||||
|
|
Loading…
Reference in New Issue