Update messages

This commit is contained in:
Adria Navarro 2023-05-23 16:43:10 +02:00
parent 3c3f67c300
commit 2b2b252900
1 changed files with 1 additions and 4 deletions

View File

@ -66,12 +66,9 @@
title={`Connect to ${name}`} title={`Connect to ${name}`}
onConfirm={() => saveDatasource()} onConfirm={() => saveDatasource()}
onCancel={() => modal.show()} onCancel={() => modal.show()}
confirmText={datasource.plus confirmText={datasource.plus ? "Connect" : "Save and continue to query"}
? "Save and fetch tables"
: "Save and continue to query"}
cancelText="Back" cancelText="Back"
showSecondaryButton={datasource.plus} showSecondaryButton={datasource.plus}
secondaryButtonText={datasource.plus ? "Skip table fetch" : undefined}
secondaryAction={() => { secondaryAction={() => {
skipFetch = true skipFetch = true
saveDatasource() saveDatasource()