macro icon

This commit is contained in:
Jan Prochazka
2020-11-01 12:54:27 +01:00
parent 8ff44e41b1
commit c9308255a7
6 changed files with 19 additions and 40 deletions

View File

@@ -1,11 +1,11 @@
import _ from 'lodash';
import { filterName } from '@dbgate/datalib';
import { StartIcon } from '../icons';
import { MacroIcon, StartIcon } from '../icons';
const macroAppObject = () => ({ name, type, title, group }, { setOpenedTabs }) => {
const key = name;
// const Icon = (props) => <i className="fas fa-archive" />;
const Icon = StartIcon;
const Icon = MacroIcon;
const matcher = (filter) => filterName(filter, name, title);
const groupTitle = group;