fix: change kind:resource icon
Signed-off-by: David Weber <david.weber@w3tec.ch>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
'@backstage/app-defaults': patch
|
||||
'@backstage/plugin-catalog': patch
|
||||
---
|
||||
|
||||
Change default icon for `kind:resource` to the storage icon.
|
||||
@@ -34,7 +34,7 @@ import MuiMenuBookIcon from '@material-ui/icons/MenuBook';
|
||||
import MuiPeopleIcon from '@material-ui/icons/People';
|
||||
import MuiPersonIcon from '@material-ui/icons/Person';
|
||||
import MuiWarningIcon from '@material-ui/icons/Warning';
|
||||
import MuiWorkIcon from '@material-ui/icons/Work';
|
||||
import MuiStorageIcon from '@material-ui/icons/Storage';
|
||||
import MuiFeaturedPlayListIcon from '@material-ui/icons/FeaturedPlayList';
|
||||
|
||||
export const icons = {
|
||||
@@ -58,7 +58,7 @@ export const icons = {
|
||||
'kind:location': MuiLocationOnIcon as IconComponent,
|
||||
'kind:system': MuiCategoryIcon as IconComponent,
|
||||
'kind:user': MuiPersonIcon as IconComponent,
|
||||
'kind:resource': MuiWorkIcon as IconComponent,
|
||||
'kind:resource': MuiStorageIcon as IconComponent,
|
||||
'kind:template': MuiFeaturedPlayListIcon as IconComponent,
|
||||
user: MuiPersonIcon as IconComponent,
|
||||
warning: MuiWarningIcon as IconComponent,
|
||||
|
||||
@@ -26,7 +26,7 @@ import LocationOnIcon from '@material-ui/icons/LocationOn';
|
||||
import MemoryIcon from '@material-ui/icons/Memory';
|
||||
import PeopleIcon from '@material-ui/icons/People';
|
||||
import PersonIcon from '@material-ui/icons/Person';
|
||||
import WorkIcon from '@material-ui/icons/Work';
|
||||
import StorageIcon from '@material-ui/icons/Storage';
|
||||
import { DefaultEntityPresentationApiRenderer } from './DefaultEntityPresentationApi';
|
||||
|
||||
export const DEFAULT_CACHE_TTL: HumanDuration = { seconds: 10 };
|
||||
@@ -39,7 +39,7 @@ export const DEFAULT_ICONS: Record<string, IconComponent> = {
|
||||
api: ExtensionIcon,
|
||||
component: MemoryIcon,
|
||||
system: BusinessIcon,
|
||||
resource: WorkIcon,
|
||||
resource: StorageIcon,
|
||||
domain: ApartmentIcon,
|
||||
location: LocationOnIcon,
|
||||
user: PersonIcon,
|
||||
|
||||
Reference in New Issue
Block a user