Make sure you can still create views with a query but no queryUI
This commit is contained in:
parent
0c6afda606
commit
064721cefa
|
@ -253,6 +253,20 @@ describe.each([
|
||||||
visible: true,
|
visible: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
queryUI: {
|
||||||
|
groups: [
|
||||||
|
{
|
||||||
|
logicalOperator: UILogicalOperator.ALL,
|
||||||
|
filters: [
|
||||||
|
{
|
||||||
|
operator: BasicOperator.EQUAL,
|
||||||
|
field: "field",
|
||||||
|
value: "value",
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
id: expect.any(String),
|
id: expect.any(String),
|
||||||
version: 2,
|
version: 2,
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,7 @@ export async function create(
|
||||||
}
|
}
|
||||||
|
|
||||||
ensureQuerySet(view)
|
ensureQuerySet(view)
|
||||||
|
ensureQueryUISet(view)
|
||||||
|
|
||||||
const db = context.getAppDB()
|
const db = context.getAppDB()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue