Change submit if sheets not selected
This commit is contained in:
parent
7c39946584
commit
23350016e2
1 changed files with 4 additions and 2 deletions
|
@ -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()
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue