Fakultas Ilmu Komputer UI

Commit 90b71a87 authored by Sean Zeliq Urian's avatar Sean Zeliq Urian
Browse files

[CHORUS] add account info in log list

parent 0412aa3a
Pipeline #80180 passed with stages
in 3 minutes and 37 seconds
......@@ -70,6 +70,13 @@ const generateLogMessage = async (log: any, services: any) => {
break;
}
}
if (log.author.is_admin) {
message = '[Admin] ' + message;
} else {
message = '[Kader] ' + message;
}
return message;
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment