Merge pull request #10818 from Budibase/budi-6945/no_sheet_selected
Change submit text if sheets not selected
This commit is contained in:
commit
834dff93f7
|
@ -64,7 +64,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const modalConfig = {
|
$: modalConfig = {
|
||||||
[GoogleDatasouceConfigStep.AUTH]: {
|
[GoogleDatasouceConfigStep.AUTH]: {
|
||||||
title: `Connect to ${integrationName}`,
|
title: `Connect to ${integrationName}`,
|
||||||
},
|
},
|
||||||
|
@ -103,7 +103,9 @@
|
||||||
},
|
},
|
||||||
[GoogleDatasouceConfigStep.SET_SHEETS]: {
|
[GoogleDatasouceConfigStep.SET_SHEETS]: {
|
||||||
title: `Choose your sheets`,
|
title: `Choose your sheets`,
|
||||||
confirmButtonText: "Fetch sheets",
|
confirmButtonText: selectedSheets?.length
|
||||||
|
? "Fetch sheets"
|
||||||
|
: "Continue without fetching",
|
||||||
onConfirm: async () => {
|
onConfirm: async () => {
|
||||||
await saveDatasourceAndRedirect()
|
await saveDatasourceAndRedirect()
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue