diff --git a/app/assets/stylesheets/repository/filters.scss b/app/assets/stylesheets/repository/filters.scss index 889282b86..3ad6c486e 100644 --- a/app/assets/stylesheets/repository/filters.scss +++ b/app/assets/stylesheets/repository/filters.scss @@ -55,6 +55,7 @@ align-items: center; display: flex; padding: .5em 1em; + cursor: pointer; .btn-light { color: $color-silver-chalice; diff --git a/app/javascript/vue/repository_filter/container.vue b/app/javascript/vue/repository_filter/container.vue index c34485021..f8e53528c 100644 --- a/app/javascript/vue/repository_filter/container.vue +++ b/app/javascript/vue/repository_filter/container.vue @@ -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))