Update messages
This commit is contained in:
parent
3c3f67c300
commit
2b2b252900
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue