Fix presets filter query

This fixes a RangeError and the drawer not showing the presets and
bookmarks count.
This commit is contained in:
Nicola Krumschmidt
2020-10-08 02:04:10 +02:00
parent 157878b387
commit a970c14c03

View File

@@ -40,7 +40,7 @@ export default defineComponent({
try {
const response = await api.get(`/presets`, {
params: {
[`filter[title][nnull]`]: 1,
[`filter[bookmark][_nnull]`]: 1,
fields: ['id'],
meta: 'filter_count,total_count',
},