Skip to content

Commit

Permalink
minor ui changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nxtcoder19 authored and tulsiojha committed Jun 14, 2024
1 parent 5e87ff4 commit a0afc87
Showing 1 changed file with 2 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,7 @@ const ListView = ({ items = [], onAction, templates }: IResource) => {
{
render: () => 'Resource Type',
name: 'resource',
className: 'w-[100px]',
},
{
render: () => '',
name: 'flex-pre',
className: 'flex-1',
},
{
render: () => 'Managed Service',
name: 'service',
className: 'w-[200px]',
className: 'w-[80px]',
},
{
render: () => '',
Expand All @@ -188,7 +178,7 @@ const ListView = ({ items = [], onAction, templates }: IResource) => {
},
],
rows: items.map((i) => {
const { name, id, logo, updateInfo } = parseItem(i, templates);
const { name, id, updateInfo } = parseItem(i, templates);
return {
columns: {
name: {
Expand All @@ -211,24 +201,6 @@ const ListView = ({ items = [], onAction, templates }: IResource) => {
<ListItem data={`${i.spec?.resourceTemplate?.kind}`} />
),
},
service: {
render: () => (
<ListItem
data={
<div className="flex flex-row gap-xl">
<span>
<img
src={logo}
alt={`${i.spec?.resourceTemplate?.msvcRef?.name}`}
className="w-4xl h-4xl"
/>
</span>
<span>{`${i.spec?.resourceTemplate?.msvcRef?.name}`}</span>
</div>
}
/>
),
},
status: {
render: () => <SyncStatusV2 item={i} />,
},
Expand Down

0 comments on commit a0afc87

Please sign in to comment.