Package updates & resolve job detail cloud upload bug. Added note type.

This commit is contained in:
Patrick Fic
2025-11-21 14:02:11 -08:00
parent f8869b4f0e
commit e069fd1170
10 changed files with 491 additions and 297 deletions

View File

@@ -118,6 +118,7 @@ export default function JobNotes() {
}
const NoteListItem = memo(function NoteListItem({ item }) {
const { t } = useTranslation();
return (
<Card mode="outlined" style={{ margin: 8 }}>
<Card.Content>
@@ -140,6 +141,9 @@ const NoteListItem = memo(function NoteListItem({ item }) {
{item.critical && (
<AntDesign name="warning" size={24} color="tomato" />
)}
<Text style={{ fontSize: 12 }}>
{t(`notes.labels.type.${item.type}`)}
</Text>
<Text style={{ fontSize: 12 }}>{item.created_by}</Text>
<Text style={{ fontSize: 12 }}>
{DateTime.fromISO(item.created_at).toLocaleString(