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,18 +454,21 @@ export default {
}, },
}; };
_.forEach(response, (v) => { _.forEach(response, (v) => {
data.push({ //Hack for display the SUPERVISING CARD
title: v.title, if(!(v.id === "SUPERVISING" && v.counter === 0)){
counter: v.counter, data.push({
item: v.id, title: v.title,
icon: info[v.id].icon, counter: v.counter,
onClick: (obj) => { item: v.id,
that.title = obj.title; icon: info[v.id].icon,
that.filterHeader = obj.item; onClick: (obj) => {
that.$refs["vueTable"].getData(); that.title = obj.title;
}, that.filterHeader = obj.item;
class: info[v.id].class, that.$refs["vueTable"].getData();
}); },
class: info[v.id].class
});
}
}); });
return data; return data;
}, },