1
0
Fork 0
mirror of synced 2024-10-06 04:54:52 +13:00

Merge pull request #10818 from Budibase/budi-6945/no_sheet_selected

Change submit text if sheets not selected
This commit is contained in:
Michael Drury 2023-06-07 15:43:14 +01:00 committed by GitHub
commit 834dff93f7

View file

@ -64,7 +64,7 @@
}
}
const modalConfig = {
$: modalConfig = {
[GoogleDatasouceConfigStep.AUTH]: {
title: `Connect to ${integrationName}`,
},
@ -103,7 +103,9 @@
},
[GoogleDatasouceConfigStep.SET_SHEETS]: {
title: `Choose your sheets`,
confirmButtonText: "Fetch sheets",
confirmButtonText: selectedSheets?.length
? "Fetch sheets"
: "Continue without fetching",
onConfirm: async () => {
await saveDatasourceAndRedirect()
},