Merged in bugfix/PMCORE-3832-A (pull request #8494)
PMCORE-3832 Custom Case Counters does not provide the correct number nor information PMCORE_3.7.4 Approved-by: Henry Jonathan Quispe Quispe Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -12,8 +12,10 @@
|
|||||||
v-if="showTooltip"
|
v-if="showTooltip"
|
||||||
>
|
>
|
||||||
{{ labelTooltip }}
|
{{ labelTooltip }}
|
||||||
<p v-if="labelDescription !== ''">
|
<p v-if="labelName !== '' || labelDescription !== ''">
|
||||||
{{ labelDescription }}
|
<span v-if="labelName !== ''">{{ labelName }}</span>
|
||||||
|
<span v-if="labelName !== '' && labelDescription !== ''">:</span>
|
||||||
|
<span v-if="labelDescription !== ''">{{ labelDescription }}</span>
|
||||||
</p>
|
</p>
|
||||||
</b-tooltip>
|
</b-tooltip>
|
||||||
</span>
|
</span>
|
||||||
@@ -30,6 +32,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
labelTooltip: "",
|
labelTooltip: "",
|
||||||
|
labelName: "",
|
||||||
labelDescription: "",
|
labelDescription: "",
|
||||||
hovering: "",
|
hovering: "",
|
||||||
show: false,
|
show: false,
|
||||||
@@ -58,6 +61,7 @@ export default {
|
|||||||
*/
|
*/
|
||||||
unhoverHandler() {
|
unhoverHandler() {
|
||||||
this.labelTooltip = "";
|
this.labelTooltip = "";
|
||||||
|
this.labelName = "";
|
||||||
this.labelDescription = "";
|
this.labelDescription = "";
|
||||||
this.showTooltip = false;
|
this.showTooltip = false;
|
||||||
this.isLoading = false;
|
this.isLoading = false;
|
||||||
@@ -81,6 +85,7 @@ export default {
|
|||||||
that.showTooltip = true;
|
that.showTooltip = true;
|
||||||
that.isLoading = false;
|
that.isLoading = false;
|
||||||
that.labelTooltip = response.data.label;
|
that.labelTooltip = response.data.label;
|
||||||
|
that.labelName = response.data.name;
|
||||||
that.labelDescription = response.data.description;
|
that.labelDescription = response.data.description;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user