fix: Statistik in toolRegistry mit ChartIcon korrekt registriert
This commit is contained in:
@@ -170,3 +170,9 @@ export const FilmIcon = ({size=20,color='currentColor',sw}) => base(<>
|
||||
<line x1="17" y1="17" x2="22" y2="17" stroke={color} strokeWidth={sw||1.5} strokeLinecap="round"/>
|
||||
<line x1="17" y1="7" x2="22" y2="7" stroke={color} strokeWidth={sw||1.5} strokeLinecap="round"/>
|
||||
</>, size, color, sw);
|
||||
|
||||
export const ChartIcon = ({size=20,color='currentColor',sw}) => base(<>
|
||||
<rect x="3" y="12" width="4" height="8" rx="1" fill={color}/>
|
||||
<rect x="9" y="7" width="4" height="13" rx="1" fill={color}/>
|
||||
<rect x="15" y="3" width="4" height="17" rx="1" fill={color}/>
|
||||
</>, size, color, sw);
|
||||
|
||||
@@ -9,7 +9,7 @@ import Skizze from './tools/skizze.jsx';
|
||||
import DevTools from './tools/devtools.jsx';
|
||||
import Media from './tools/media.jsx';
|
||||
import PaywallKiller from './tools/paywallkiller.jsx';
|
||||
import { CalculatorIcon, ArchiveIcon, DatabaseIcon, AppsIcon, MessageIcon, LinkIcon, CodeIcon, SkizzeIcon, WrenchIcon, FilmIcon, PaywallIcon } from './icons.jsx';
|
||||
import { CalculatorIcon, ArchiveIcon, DatabaseIcon, AppsIcon, MessageIcon, LinkIcon, CodeIcon, SkizzeIcon, WrenchIcon, FilmIcon, PaywallIcon, ChartIcon } from './icons.jsx';
|
||||
|
||||
export const TOOLS = [
|
||||
{
|
||||
@@ -36,6 +36,14 @@ export const TOOLS = [
|
||||
group: '3D-Druck',
|
||||
component: Bestellungen,
|
||||
},
|
||||
{
|
||||
id: 'statistik3d',
|
||||
Icon: ChartIcon,
|
||||
label: 'Statistik',
|
||||
navLabel: 'Statistik',
|
||||
group: '3D-Druck',
|
||||
component: Statistik,
|
||||
},
|
||||
{
|
||||
id: 'dateien',
|
||||
Icon: DatabaseIcon,
|
||||
|
||||
Reference in New Issue
Block a user