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:
Evan Rusackas
2020-10-20 22:44:11 -07:00
committed by GitHub
parent 43aca6a26c
commit cae54ac00e
6 changed files with 5 additions and 6 deletions

View File

@@ -506,7 +506,6 @@ function ChartList(props: ChartListProps) {
subMenuButtons.push({
name: (
<>
{' '}
<i className="fa fa-plus" /> {t('Chart')}
</>
),

View File

@@ -173,7 +173,6 @@ function CssTemplatesList({
subMenuButtons.push({
name: (
<>
{' '}
<i className="fa fa-plus" /> {t('Css Template')}
</>
),

View File

@@ -512,7 +512,6 @@ function DashboardList(props: DashboardListProps) {
subMenuButtons.push({
name: (
<>
{' '}
<i className="fa fa-plus" /> {t('Dashboard')}
</>
),

View File

@@ -130,7 +130,6 @@ function DatabaseList({ addDangerToast, addSuccessToast }: DatabaseListProps) {
{
name: (
<>
{' '}
<i className="fa fa-plus" /> {t('Database')}{' '}
</>
),

View File

@@ -389,7 +389,6 @@ const DatasetList: FunctionComponent<DatasetListProps> = ({
buttonArr.push({
name: (
<>
{' '}
<i className="fa fa-plus" /> {t('Dataset')}{' '}
</>
),

View File

@@ -145,7 +145,11 @@ function SavedQueryList({
}
subMenuButtons.push({
name: t('+ Query'),
name: (
<>
<i className="fa fa-plus" /> {t('Query')}
</>
),
onClick: openNewQuery,
buttonStyle: 'primary',
});