mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
style: using correct + icon on New Query button (#11353)
* style: using correct + icon on New Query button * non-meaningful whitespace removed.
This commit is contained in:
@@ -506,7 +506,6 @@ function ChartList(props: ChartListProps) {
|
||||
subMenuButtons.push({
|
||||
name: (
|
||||
<>
|
||||
{' '}
|
||||
<i className="fa fa-plus" /> {t('Chart')}
|
||||
</>
|
||||
),
|
||||
|
||||
@@ -173,7 +173,6 @@ function CssTemplatesList({
|
||||
subMenuButtons.push({
|
||||
name: (
|
||||
<>
|
||||
{' '}
|
||||
<i className="fa fa-plus" /> {t('Css Template')}
|
||||
</>
|
||||
),
|
||||
|
||||
@@ -512,7 +512,6 @@ function DashboardList(props: DashboardListProps) {
|
||||
subMenuButtons.push({
|
||||
name: (
|
||||
<>
|
||||
{' '}
|
||||
<i className="fa fa-plus" /> {t('Dashboard')}
|
||||
</>
|
||||
),
|
||||
|
||||
@@ -130,7 +130,6 @@ function DatabaseList({ addDangerToast, addSuccessToast }: DatabaseListProps) {
|
||||
{
|
||||
name: (
|
||||
<>
|
||||
{' '}
|
||||
<i className="fa fa-plus" /> {t('Database')}{' '}
|
||||
</>
|
||||
),
|
||||
|
||||
@@ -389,7 +389,6 @@ const DatasetList: FunctionComponent<DatasetListProps> = ({
|
||||
buttonArr.push({
|
||||
name: (
|
||||
<>
|
||||
{' '}
|
||||
<i className="fa fa-plus" /> {t('Dataset')}{' '}
|
||||
</>
|
||||
),
|
||||
|
||||
@@ -145,7 +145,11 @@ function SavedQueryList({
|
||||
}
|
||||
|
||||
subMenuButtons.push({
|
||||
name: t('+ Query'),
|
||||
name: (
|
||||
<>
|
||||
<i className="fa fa-plus" /> {t('Query')}
|
||||
</>
|
||||
),
|
||||
onClick: openNewQuery,
|
||||
buttonStyle: 'primary',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user