mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
fix(theming): Fix visual regressions from theming P7 (#34237)
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { useState, useEffect, useMemo, ChangeEvent } from 'react';
|
||||
|
||||
import type { DatabaseObject } from 'src/features/databases/types';
|
||||
import { t, styled } from '@superset-ui/core';
|
||||
import {
|
||||
@@ -28,6 +27,7 @@ import {
|
||||
Modal,
|
||||
Row,
|
||||
Col,
|
||||
Icons,
|
||||
} from '@superset-ui/core/components';
|
||||
import { Menu } from '@superset-ui/core/components/Menu';
|
||||
import SaveDatasetActionButton from 'src/SqlLab/components/SaveDatasetActionButton';
|
||||
@@ -43,6 +43,7 @@ import {
|
||||
LOG_ACTIONS_SQLLAB_CREATE_CHART,
|
||||
LOG_ACTIONS_SQLLAB_SAVE_QUERY,
|
||||
} from 'src/logger/LogUtils';
|
||||
import { ModalTitleWithIcon } from 'src/components/ModalTitleWithIcon';
|
||||
|
||||
interface SaveQueryProps {
|
||||
queryEditorId: string;
|
||||
@@ -224,7 +225,14 @@ const SaveQuery = ({
|
||||
primaryButtonName={isSaved ? t('Save') : t('Save as')}
|
||||
width="620px"
|
||||
show={showSave}
|
||||
title={<h4>{t('Save query')}</h4>}
|
||||
name={t('Save query')}
|
||||
title={
|
||||
<ModalTitleWithIcon
|
||||
title={t('Save query')}
|
||||
icon={<Icons.SaveOutlined />}
|
||||
data-test="save-query-modal-title"
|
||||
/>
|
||||
}
|
||||
footer={
|
||||
<>
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user