Skip to content

Commit

Permalink
feat(ui): Remove status date from package details pages for all users (
Browse files Browse the repository at this point in the history
  • Loading branch information
tbolt authored and RanyeM committed Jan 9, 2025
1 parent 7d9f9d5 commit 62e1b63
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions react-app/src/features/package/package-details/hooks.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isCmsUser, isStateUser, formatSeatoolDate } from "shared-utils";
import { formatSeatoolDate, isCmsUser, isStateUser } from "shared-utils";

import { OneMacUser } from "@/api/useGetUser";
import { BLANK_VALUE } from "@/consts";
Expand Down Expand Up @@ -122,11 +122,6 @@ export const recordDetails = (data: opensearch.main.Document): DetailSectionItem
return !(data.actionType === "Extend");
},
},
{
label: "Status Date",
value: data.statusDate ? formatSeatoolDate(data.statusDate) : BLANK_VALUE,
canView: (u) => (!u || !u.user ? false : isCmsUser(u.user)),
},
];

export const approvedAndAEffectiveDetails = (
Expand Down

0 comments on commit 62e1b63

Please sign in to comment.