Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
tbcare
tbcare-web
Commits
90b71a87
Commit
90b71a87
authored
May 31, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/scenes/ActivityLog/utilities/utils.tsx
View file @
90b71a87
...
...
@@ -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
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment