Made report by submitter work for VIPs

This commit is contained in:
Ajay Ramachandran
2020-09-06 13:35:14 -04:00
parent a053d87bd2
commit 9bcecae9a2

View File

@@ -17,10 +17,10 @@ function getVoteAuthorRaw(submissionCount, isVIP, isOwnSubmission) {
function getVoteAuthor(submissionCount, isVIP, isOwnSubmission) {
if (submissionCount === 0) {
return "Report by New User";
} else if (isVIP) {
return "Report by VIP User";
} else if (isOwnSubmission) {
return "Report by Submitter";
} else if (isVIP) {
return "Report by VIP User";
}
return "";