Skip to content

Commit

Permalink
Fix UI errors for when changing to WebP and adding lastDenyReason
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinaisslaying committed Mar 23, 2024
1 parent 4f3d89b commit 9621efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion views/partials/nav.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
<% if (req.user) { %>
<div class="navbar-item has-dropdown is-hoverable">
<div class="navbar-link" tabindex="0">
<img width="28" height="28" style="margin-right: 6px; border-radius: 50%; vertical-align: middle;" src="<%= req.user.db.avatar.hash ? req.user.db.avatar.url : `${baseURL}/img/defaultavatar` %>.webo?size=64" alt="<%= req.user.db.fullUsername %>'s Discord Profile Picture" onerror=<%= "this.onerror=null,this.src=&quot;/img/defaultavatar.webp&quot;" %> type="image/webp" draggable="false">
<img width="28" height="28" style="margin-right: 6px; border-radius: 50%; vertical-align: middle;" src="<%= req.user.db.avatar.hash ? req.user.db.avatar.url : `${baseURL}/img/defaultavatar` %>.webp?size=64" alt="<%= req.user.db.fullUsername %>'s Discord Profile Picture" onerror=<%= "this.onerror=null,this.src=&quot;/img/defaultavatar.webp&quot;" %> type="image/webp" draggable="false">
<span style="vertical-align: middle;">&nbsp; <%= req.user.db.fullUsername %> </span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/templates/bots/view.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@
</div>
<br />
<% if (req.user) { %>
<% if (req.user.db.rank.mod === true) && bot.status.approved === false { %>
<% if (req.user.db.rank.mod === true && bot.status.approved === false) { %>
<% if (bot.modNotes) { %>
<div class="container">
<article class="message is-warning">
Expand Down

0 comments on commit 9621efd

Please sign in to comment.