+ {_.isEmpty(data) ? (
+ isLoading ? (
+
+
+
+ ) : (
+
+ )
+ ) : (
+ data.map((e, i) => (
+
+ {userLoginId === e?.User?.id ? (
+
+
+
+
+ {e?.User?.Profile?.name}
+
+
+
+ {/*
+
+ {new Intl.DateTimeFormat("id-ID", {
+ timeStyle: "medium",
+ }).format(e.createdAt)}
+
+
+
+ {new Intl.DateTimeFormat("id-ID", {
+ dateStyle: "medium",
+ }).format(e.createdAt)}
+
+ */}
+
+
+
+ ) : (
+
+
+
+
+ {e?.User?.Profile?.name}
+
+
+ {/*
+
+ {new Intl.DateTimeFormat("id-ID", {
+ timeStyle: "medium",
+ }).format(e.createdAt)}
+
+
+
+ {new Intl.DateTimeFormat("id-ID", {
+ dateStyle: "medium",
+ }).format(e.createdAt)}
+
+ */}
+
+
+
+ )}
+
+ ))
+ )}
+
+