Skip to content

Commit

Permalink
fix(notify): no valid icon
Browse files Browse the repository at this point in the history
  • Loading branch information
someone005 authored Oct 1, 2024
1 parent c80916c commit 809dc21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/esx_notify/nui/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ notification = (data) => {
const notification = $(`
<div class="notify ${data.type}">
<div class="innerText">
<span class="material-symbols-outlined icon">${types[data.type]["icon"]}</span>
<span class="material-symbols-outlined icon">${types[data.type] ? types[data.type]["icon"] : types["info"]["icon"]}</span>
<p class="text">${data["message"]}</p>
</div>
</div>
Expand Down

0 comments on commit 809dc21

Please sign in to comment.