PMCORE-3284:UI - set the color in the icon for custom case list

correction menu

documentation

CR
This commit is contained in:
fabio
2021-09-03 16:07:56 -04:00
parent c6be7f41d1
commit a5e860a0d9
5 changed files with 40 additions and 12 deletions

View File

@@ -8,7 +8,7 @@
<h6>
{{ dataSubtitle.subtitle }}
<span>
<i :class="dataSubtitle.icon"></i>
<i :class="dataSubtitle.icon" v-bind:style="setIconColor"></i>
</span>
</h6>
</div>
@@ -43,6 +43,16 @@ export default {
data() {
return {};
},
computed : {
/**
* Set color to icon defined from custom case list
*/
setIconColor() {
return {
color: this.dataSubtitle.color ? this.dataSubtitle.color : '#000'
};
}
},
methods: {
classBtn(cls) {
return "btn btn-slim btn-force-radius v-btn-header " + cls;
@@ -55,8 +65,6 @@ export default {
.pm-multiview-header {
margin-bottom: 7px;
}
.pm-multiview-header-title {
}
.pm-multiview-header-actions-buttons {
text-align: end;
}