Update dan bUgs FIx
This commit is contained in:
Vendored
+4
-4
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user