Skip to content

Commit

Permalink
fix(notify): no valid icon
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Oct 2, 2024
1 parent 9489c93 commit 09b8019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server-data/resources/[esx]/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 09b8019

Please sign in to comment.