mirror of
https://github.com/apache/superset.git
synced 2026-04-24 10:35:01 +00:00
fix: No back button in save dataset modal (#20964)
* back button fix * fixed test
This commit is contained in:
@@ -357,7 +357,9 @@ export const SaveDatasetModal: FunctionComponent<SaveDatasetModalProps> = ({
|
||||
)}
|
||||
{newOrOverwrite === DatasetRadioState.OVERWRITE_DATASET && (
|
||||
<>
|
||||
<Button onClick={handleOverwriteCancel}>Back</Button>
|
||||
{shouldOverwriteDataset && (
|
||||
<Button onClick={handleOverwriteCancel}>Back</Button>
|
||||
)}
|
||||
<Button
|
||||
className="md"
|
||||
buttonStyle="primary"
|
||||
|
||||
Reference in New Issue
Block a user