diff --git a/plugins/frontend/backstage-plugin-wiz/package.json b/plugins/frontend/backstage-plugin-wiz/package.json index aa399e6a5..a6242e403 100644 --- a/plugins/frontend/backstage-plugin-wiz/package.json +++ b/plugins/frontend/backstage-plugin-wiz/package.json @@ -1,6 +1,6 @@ { "name": "@roadiehq/backstage-plugin-wiz", - "version": "1.0.4", + "version": "1.0.5", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", diff --git a/plugins/frontend/backstage-plugin-wiz/src/components/EntityIssuesChart/IssuesChart.tsx b/plugins/frontend/backstage-plugin-wiz/src/components/EntityIssuesChart/IssuesChart.tsx index 4e114adaa..9dfaeff14 100644 --- a/plugins/frontend/backstage-plugin-wiz/src/components/EntityIssuesChart/IssuesChart.tsx +++ b/plugins/frontend/backstage-plugin-wiz/src/components/EntityIssuesChart/IssuesChart.tsx @@ -28,6 +28,7 @@ import { LineChart } from './LineChart'; import { WIZ_PROJECT_ANNOTATION } from '../constants'; import { useStyles } from '../../style'; import { Typography } from '@material-ui/core'; +import wizLogo from '../../assets/wiz-logo.png'; export const IssuesChart = () => { const api = useApi(wizApiRef); @@ -37,13 +38,7 @@ export const IssuesChart = () => { entity?.metadata.annotations?.[WIZ_PROJECT_ANNOTATION] ?? ''; const WizIcon = () => { - return ( - WIZ Logo - ); + return WIZ Logo; }; const { value, loading, error } = useAsync(async () => { diff --git a/plugins/frontend/backstage-plugin-wiz/src/components/EntitySeverityChart/SeverityChart.tsx b/plugins/frontend/backstage-plugin-wiz/src/components/EntitySeverityChart/SeverityChart.tsx index 0fc5db865..20086f474 100644 --- a/plugins/frontend/backstage-plugin-wiz/src/components/EntitySeverityChart/SeverityChart.tsx +++ b/plugins/frontend/backstage-plugin-wiz/src/components/EntitySeverityChart/SeverityChart.tsx @@ -28,6 +28,7 @@ import { BarChart } from '.'; import { WIZ_PROJECT_ANNOTATION } from '../constants'; import { useStyles } from '../../style'; import { Typography } from '@material-ui/core'; +import wizLogo from '../../assets/wiz-logo.png'; export const SeverityChart = () => { const api = useApi(wizApiRef); @@ -37,13 +38,7 @@ export const SeverityChart = () => { entity?.metadata.annotations?.[WIZ_PROJECT_ANNOTATION] ?? ''; const WizIcon = () => { - return ( - WIZ Logo - ); + return WIZ Logo; }; const { value, loading, error } = useAsync(async () => { diff --git a/plugins/frontend/backstage-plugin-wiz/src/components/Issues/Issues.tsx b/plugins/frontend/backstage-plugin-wiz/src/components/Issues/Issues.tsx index c3c4b1906..0165479e6 100644 --- a/plugins/frontend/backstage-plugin-wiz/src/components/Issues/Issues.tsx +++ b/plugins/frontend/backstage-plugin-wiz/src/components/Issues/Issues.tsx @@ -45,6 +45,7 @@ import FilterAltOutlinedIcon from '@mui/icons-material/FilterAltOutlined'; import { createTheme, ThemeProvider, ThemeOptions } from '@mui/material/styles'; import { WIZ_PROJECT_ANNOTATION } from '../constants'; import { useStyles } from '../../style'; +import wizLogo from '../../assets/wiz-logo.png'; const getCorrectChip = (theme: Theme, severity: string) => { switch (severity) { @@ -245,11 +246,7 @@ export const Issues = () => { const WizIcon = () => { return ( - WIZ Logo + WIZ Logo ); }; diff --git a/plugins/frontend/backstage-plugin-wiz/src/components/IssuesWidget/IssuesWidget.tsx b/plugins/frontend/backstage-plugin-wiz/src/components/IssuesWidget/IssuesWidget.tsx index 9f10068ce..b78854b9a 100644 --- a/plugins/frontend/backstage-plugin-wiz/src/components/IssuesWidget/IssuesWidget.tsx +++ b/plugins/frontend/backstage-plugin-wiz/src/components/IssuesWidget/IssuesWidget.tsx @@ -27,6 +27,7 @@ import { import { useEntity } from '@backstage/plugin-catalog-react'; import { WIZ_PROJECT_ANNOTATION } from '../constants'; import { useStyles } from '../../style'; +import wizLogo from '../../assets/wiz-logo.png'; const SeverityIndicator = ({ theme, @@ -89,13 +90,7 @@ export const IssuesWidget = () => { ); const WizIcon = () => { - return ( - WIZ Logo - ); + return WIZ Logo; }; if (loading) {