Persist row height
This commit is contained in:
parent
3a6e0406cf
commit
07416e3e4a
|
@ -149,6 +149,7 @@ export async function create(ctx: Ctx<CreateViewRequest, CreateViewResponse>) {
|
|||
sort: view.sort,
|
||||
schema,
|
||||
primaryDisplay: view.primaryDisplay,
|
||||
rowHeight: view.rowHeight,
|
||||
}
|
||||
const result = await sdk.views.create(tableId, parsedView)
|
||||
|
||||
|
@ -229,6 +230,7 @@ export async function update(ctx: Ctx<UpdateViewRequest, UpdateViewResponse>) {
|
|||
sort: view.sort,
|
||||
schema,
|
||||
primaryDisplay: view.primaryDisplay,
|
||||
rowHeight: view.rowHeight,
|
||||
}
|
||||
|
||||
const { view: result, existingView } = await sdk.views.update(
|
||||
|
|
|
@ -99,6 +99,7 @@ export interface ViewV2 {
|
|||
type?: SortType
|
||||
}
|
||||
schema?: ViewV2Schema
|
||||
rowHeight?: number
|
||||
}
|
||||
|
||||
export interface PublicAPIView extends Omit<ViewV2, "query" | "queryUI"> {
|
||||
|
|
|
@ -2,7 +2,6 @@ import { UITable, UIView } from "@budibase/types"
|
|||
|
||||
export type UIDatasource = (UITable | UIView) & {
|
||||
type: string
|
||||
rowHeight?: number
|
||||
}
|
||||
|
||||
export interface UIFieldMutation {
|
||||
|
|
Loading…
Reference in New Issue