font icons instead of SVG icons

This commit is contained in:
Jan Prochazka
2020-11-09 20:49:06 +01:00
parent a7fcf1d3a3
commit ca6d552f5b
16 changed files with 47 additions and 53 deletions

View File

@@ -12,7 +12,7 @@ function Menu({ data, setOpenedTabs, showModal }) {
const handleNewQuery = () => {
openNewTab(setOpenedTabs, {
title: 'Query',
icon: 'sql.svg',
icon: 'mdi mdi-file',
tooltip,
tabComponent: 'QueryTab',
props: {
@@ -63,7 +63,7 @@ const databaseAppObject = (flags) => ({ name, connection }) => {
const { boldCurrentDatabase } = flags || {};
const title = name;
const key = name;
const Icon = DatabaseIcon;
const icon = 'mdi mdi-database color-yellow-icon';
const isBold = boldCurrentDatabase
? ({ currentDatabase }) => {
return (
@@ -72,7 +72,7 @@ const databaseAppObject = (flags) => ({ name, connection }) => {
}
: null;
return { title, key, Icon, Menu, isBold };
return { title, key, icon, Menu, isBold };
};
export default databaseAppObject;