mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +08:00
Merge pull request #3800 from artoscinote/ma_SCI_6474
Fix loading of saved filters [SCI-6474]
This commit is contained in:
commit
7de6d3d566
2 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,7 @@
|
|||
align-items: center;
|
||||
display: flex;
|
||||
padding: .5em 1em;
|
||||
cursor: pointer;
|
||||
|
||||
.btn-light {
|
||||
color: $color-silver-chalice;
|
||||
|
|
|
@ -95,6 +95,7 @@
|
|||
$('#filtersColumnsDropdown').toggleClass('open');
|
||||
},
|
||||
loadFilters(filterUrl) {
|
||||
this.filters = [];
|
||||
$.get(filterUrl, (data) => {
|
||||
let filters = [];
|
||||
let rawFilters = data.data.attributes.default_columns.concat((data.included || []).map(f => f.attributes))
|
||||
|
|
Loading…
Reference in a new issue