diff --git a/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue b/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue index ea15432607..a8b044646b 100644 --- a/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue +++ b/core/frontend/src/views/panel/filter/filterMain/FilterHead.vue @@ -33,7 +33,12 @@ /> - {{ $t('panel.drag_here') }} + {{ $t('panel.drag_here') }} + @@ -96,7 +101,10 @@ export default { }, end2(e) { }, - + clearItems() { + this.element.options.attrs.dragItems.splice(0) + this.element.options.attrs.sort = null + }, closeItem(tag) { const index = tag.index this.element.options.attrs.dragItems.splice(index, 1) @@ -191,5 +199,12 @@ export default { .blackTheme .theme-drag { background-color: var(--MainBG, #fff); } - +.clr-btn { + cursor: pointer; + position: absolute; + right: 10px; + &:hover { + color: #3370ff; + } +}