|
|
@ -183,12 +183,12 @@ export function useViewFilters( |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const addFilter = () => { |
|
|
|
const addFilter = () => { |
|
|
|
filters.value.push(placeholderFilter) |
|
|
|
filters.value.push({ ...placeholderFilter }) |
|
|
|
$e('a:filter:add', { length: filters.value.length }) |
|
|
|
$e('a:filter:add', { length: filters.value.length }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const addFilterGroup = async () => { |
|
|
|
const addFilterGroup = async () => { |
|
|
|
const child = placeholderFilter |
|
|
|
const child = { ...placeholderFilter } |
|
|
|
const placeHolderGroupFilter: Filter = { |
|
|
|
const placeHolderGroupFilter: Filter = { |
|
|
|
is_group: true, |
|
|
|
is_group: true, |
|
|
|
status: 'create', |
|
|
|
status: 'create', |
|
|
|