Fox selecting views

This commit is contained in:
Adria Navarro 2025-01-21 14:16:04 +01:00
parent 062149af7e
commit e62184de7f
1 changed files with 1 additions and 4 deletions

View File

@ -46,8 +46,6 @@ export const sortAndFormat = {
const formatted = datasourceSelect.table(table, datasources)
return {
...formatted,
label: formatted.label,
datasourceName: formatted.datasourceName,
resourceId: table._id,
}
})
@ -67,8 +65,7 @@ export const sortAndFormat = {
return views.map(view => {
const formatted = datasourceSelect.viewV2(view, datasources)
return {
label: formatted.label,
datasourceName: formatted.datasourceName,
...formatted,
resourceId: view.id,
}
})