Update dan bUgs FIx

This commit is contained in:
Pusdatin BPKD Jkt
2022-09-29 16:57:34 +07:00
parent 019f6be7f6
commit ffc4b94fdc
5 changed files with 32 additions and 13 deletions
+4 -4
View File
@@ -451,12 +451,12 @@ refreshNotif = ()=>{
method: "POST",
success: function(data){
$("#span_count_notif").hide();
if (data.length>0){
$("#span_count_notif").html(data.length);
if (data.jml>0){
$("#span_count_notif").html(data.jml);
$("#span_count_notif").show();
$listElm = "";
$.each(data, function(x,y){
$listElm = `<a href="`+y.url+`" class="dropdown-item">
$.each(data.data, function(x,y){
$listElm += `<a href="`+y.url+`" class="dropdown-item">
<div class="media">
<div class="media-body">
<h3 class="dropdown-item-title"><strong>`+ y.jenis +`</strong>