Update autoscreens with new dataprovier props

This commit is contained in:
Andrew Kingston 2021-05-13 16:32:18 +01:00
parent b734d861ea
commit 9c7f5f98b7
2 changed files with 11 additions and 3 deletions

View File

@ -90,10 +90,17 @@ const createScreen = table => {
tableId: table._id,
type: "table",
},
filter: {
_id: `{{ ${makePropSafe("url")}.${makePropSafe("id")} }}`,
},
filter: [
{
field: "_id",
operator: "equal",
type: "string",
value: `{{ ${makePropSafe("url")}.${makePropSafe("id")} }}`,
valueType: "Binding",
},
],
limit: 1,
paginate: false,
})
const repeater = new Component("@budibase/standard-components/repeater")

View File

@ -80,6 +80,7 @@ const createScreen = table => {
tableId: table._id,
type: "table",
},
paginate: false,
})
const spectrumTable = new Component("@budibase/standard-components/table")