Skip to content

Commit

Permalink
Merge pull request #1406 from someone005/main
Browse files Browse the repository at this point in the history
fix(notify): no valid icon
  • Loading branch information
Gellipapa authored Oct 1, 2024
2 parents 88b8774 + 809dc21 commit 9c13697
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 9c13697

Please sign in to comment.