1
0
Fork 0
mirror of synced 2024-07-07 07:15:43 +12:00

Add support for detecting datasource plus usage in tables when using a data provider as a source

This commit is contained in:
Andrew Kingston 2024-05-02 16:14:04 +01:00
parent 329201569d
commit df25ff307c

View file

@ -76,7 +76,11 @@ export const deriveStores = context => {
)
const hasBudibaseIdentifiers = derived(datasource, $datasource => {
return ["table", "viewV2", "link"].includes($datasource?.type)
let type = $datasource?.type
if (type === "provider") {
type = $datasource.value?.datasource?.type
}
return ["table", "viewV2", "link"].includes(type)
})
return {