PMCORE-2702

update

update
This commit is contained in:
Henry Jordan
2021-01-14 16:07:20 +00:00
parent df53646f1c
commit 41ed8018f1
2 changed files with 27 additions and 12 deletions

View File

@@ -80,4 +80,16 @@ export default {
display: flex; display: flex;
justify-content: space-between; 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;
}
</style> </style>

View File

@@ -454,6 +454,8 @@ export default {
}, },
}; };
_.forEach(response, (v) => { _.forEach(response, (v) => {
//Hack for display the SUPERVISING CARD
if(!(v.id === "SUPERVISING" && v.counter === 0)){
data.push({ data.push({
title: v.title, title: v.title,
counter: v.counter, counter: v.counter,
@@ -464,8 +466,9 @@ export default {
that.filterHeader = obj.item; that.filterHeader = obj.item;
that.$refs["vueTable"].getData(); that.$refs["vueTable"].getData();
}, },
class: info[v.id].class, class: info[v.id].class
}); });
}
}); });
return data; return data;
}, },