Package updates & resolve job detail cloud upload bug. Added note type.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user