Skip to content

Commit

Permalink
show asset down on assets manage page (#7443)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pranshu1902 authored Mar 27, 2024
1 parent c4d5d62 commit 2134458
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Components/Assets/AssetManage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,13 @@ const AssetManage = (props: AssetManageProps) => {
{warrantyAmcValidityChip(
asset?.warranty_amc_end_of_validity as string
)}
{asset?.latest_status === "Down" && (
<Chip
variant="danger"
startIcon="l-link-broken"
text={asset?.latest_status}
/>
)}
</div>
</div>
<div className="mt-3 hidden text-gray-700 sm:block">
Expand Down

0 comments on commit 2134458

Please sign in to comment.