Merge pull request #1074 from Budibase/views_bugfix

fix: views not loading in deployed apps
This commit is contained in:
Michael Shanks 2021-02-02 22:22:29 +00:00 committed by GitHub
commit 3edeb2d539
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ export const fetchViewData = async ({
params.set("calculation", calculation) params.set("calculation", calculation)
} }
if (groupBy) { if (groupBy) {
params.set("group", groupBy) params.set("group", groupBy ? "true" : "false")
} }
const QUERY_VIEW_URL = field const QUERY_VIEW_URL = field