1
0
Fork 0
mirror of synced 2024-07-19 21:26:22 +12:00

Change submit if sheets not selected

This commit is contained in:
Adria Navarro 2023-06-07 14:34:31 +01:00
parent 7c39946584
commit 23350016e2

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()
},