This commit is contained in:
Andrew Kingston 2024-10-21 16:29:03 +01:00
parent db2001b868
commit 21c580e956
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@
// Gets the available fields to group by // Gets the available fields to group by
const getGroupByOptions = schema => { const getGroupByOptions = schema => {
return Object.entries(schema) return Object.entries(schema)
.filter(([field, fieldSchema]) => { .filter(([_, fieldSchema]) => {
// Don't allow grouping by calculations // Don't allow grouping by calculations
if (fieldSchema.calculationType) { if (fieldSchema.calculationType) {
return false return false

View File

@ -3,7 +3,7 @@
import { Input, notifications, Button, Icon, ListItem } from "@budibase/bbui" import { Input, notifications, Button, Icon, ListItem } from "@budibase/bbui"
import { goto } from "@roxi/routify" import { goto } from "@roxi/routify"
import { viewsV2 } from "stores/builder" import { viewsV2 } from "stores/builder"
import { CalculationType, ViewV2Type } from "@budibase/types" import { ViewV2Type } from "@budibase/types"
export let table export let table
export let firstView = false export let firstView = false