diff --git a/resources/assets/js/components/home/HeaderCounter.vue b/resources/assets/js/components/home/HeaderCounter.vue index f91950526..8176792fa 100644 --- a/resources/assets/js/components/home/HeaderCounter.vue +++ b/resources/assets/js/components/home/HeaderCounter.vue @@ -80,4 +80,16 @@ export default { display: flex; justify-content: space-between; } + +.btn-warning { + color: white; + background-color: #ffc107; + border-color: #ffc107; +} + +.btn-warning:hover { + color: white; + background-color: #e0a800; + border-color: #d39e00; +} diff --git a/resources/assets/js/home/MyCases.vue b/resources/assets/js/home/MyCases.vue index cc23b7a3d..30104bc0d 100644 --- a/resources/assets/js/home/MyCases.vue +++ b/resources/assets/js/home/MyCases.vue @@ -454,18 +454,21 @@ export default { }, }; _.forEach(response, (v) => { - data.push({ - title: v.title, - counter: v.counter, - item: v.id, - icon: info[v.id].icon, - onClick: (obj) => { - that.title = obj.title; - that.filterHeader = obj.item; - that.$refs["vueTable"].getData(); - }, - class: info[v.id].class, - }); + //Hack for display the SUPERVISING CARD + if(!(v.id === "SUPERVISING" && v.counter === 0)){ + data.push({ + title: v.title, + counter: v.counter, + item: v.id, + icon: info[v.id].icon, + onClick: (obj) => { + that.title = obj.title; + that.filterHeader = obj.item; + that.$refs["vueTable"].getData(); + }, + class: info[v.id].class + }); + } }); return data; },