aboutsummaryrefslogtreecommitdiff
path: root/web/src/components/Quotes.jsx
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-01-11 18:02:05 -0500
committerAndrew Lee <andrew@alee14.me>2025-01-11 18:02:05 -0500
commit7e65ae0e135098acad76b8081f34478b4efc077f (patch)
treeb7efc060fca4257a875a5a3e525e2733b6579040 /web/src/components/Quotes.jsx
parentf5de90ba89146008af78c16e798e216efccf0c50 (diff)
downloadAleeBot-7e65ae0e135098acad76b8081f34478b4efc077f.tar.gz
AleeBot-7e65ae0e135098acad76b8081f34478b4efc077f.tar.bz2
AleeBot-7e65ae0e135098acad76b8081f34478b4efc077f.zip
Cleaned up some code, author image now support attachments
Diffstat (limited to 'web/src/components/Quotes.jsx')
-rw-r--r--web/src/components/Quotes.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/src/components/Quotes.jsx b/web/src/components/Quotes.jsx
index 1d563e7..831408d 100644
--- a/web/src/components/Quotes.jsx
+++ b/web/src/components/Quotes.jsx
@@ -72,6 +72,7 @@ export function PendingQuotes() {
</div>
<p className="quoteText">{quote.quote}</p>
<small>- {quote.year}</small>
+ <small>Submitted by {quote.submitterAuthor} ({quote.submitterID})</small>
</div>
<button onClick={() => approveQuote(quote.id)}>Approve</button>
<button onClick={() => rejectQuote(quote.id)}>Reject</button>