fix: save query modal/button styling + convert to ant-d modal (#11164)

This commit is contained in:
Moriah Kreeger
2020-10-06 16:55:17 -07:00
committed by GitHub
parent fb8320f7fe
commit 21c8d672a8
5 changed files with 230 additions and 209 deletions

View File

@@ -529,9 +529,7 @@ class SqlEditor extends React.PureComponent {
<span>
<SaveQuery
query={qe}
defaultLabel={
qe.description == null ? qe.title : qe.description
}
defaultLabel={qe.title || qe.description}
onSave={this.props.actions.saveQuery}
onUpdate={this.props.actions.updateSavedQuery}
saveQueryWarning={this.props.saveQueryWarning}