1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

Update autoscreens with new dataprovier props

This commit is contained in:
Andrew Kingston 2021-05-13 16:32:18 +01:00
parent 82b0d331b3
commit d49ca2d308
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")