diff --git a/src/pages/Zone/Card/ZoneEventExclusionForm.vue b/src/pages/Zone/Card/ZoneEventExclusionForm.vue
index 5ab9a5f92..0ba2e640a 100644
--- a/src/pages/Zone/Card/ZoneEventExclusionForm.vue
+++ b/src/pages/Zone/Card/ZoneEventExclusionForm.vue
@@ -95,7 +95,6 @@ const onSubmit = async () => {
const deleteEvent = async () => {
try {
if (!props.event) return;
- console.log('props.event: ', props.event);
await axios.delete(`Zones/${route.params.id}/exclusions`);
await refetchEvents();
} catch (err) {
diff --git a/src/pages/Zone/ZoneList.vue b/src/pages/Zone/ZoneList.vue
index 838f90617..c2e0862ad 100644
--- a/src/pages/Zone/ZoneList.vue
+++ b/src/pages/Zone/ZoneList.vue
@@ -1,7 +1,7 @@
@@ -132,12 +147,13 @@ const handleClone = (id) => {
data-key="Zones"
:label="t('Search zone')"
:info="t('You can search zones by id or name')"
- :where-filter="
- (text) => {
- return { name: { like: `%${text}%` } };
- }
- "
+ :expr-builder="exprBuilder"
/>
+
+
+
+
+
{
:create="{
urlCreate: 'Zones',
title: t('list.createZone'),
- onDataSaved: ({ id }) => tableRef.redirect(id),
+ onDataSaved: ({ id }) => tableRef.redirect(`${id}/location`),
formInitialData: {},
}"
:user-filter="tableFilter"
:columns="columns"
- default-mode="table"
redirect="zone"
+ :right-search="false"
+ :expr-builder="exprBuilder"
auto-load
>
+