PMCORE-3509:In version 3.7.0 the inbox the send by field displays the undefined username after a script task

Correction

Style
This commit is contained in:
Fabio Guachalla
2021-11-26 11:31:48 -04:00
parent eac7f9bb63
commit e4484ec1dd
6 changed files with 147 additions and 197 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div v-if="data.length" class="grouped-cell">
<div v-if="showTooltip" class="grouped-cell">
<div v-for="(item, index) in data" v-bind:key="item.TITLE" class="d-flex">
<div class="avatar" :id="id + index">
<b-avatar
@@ -36,6 +36,11 @@
</div>
</div>
</div>
<div v-else class="grouped-cell">
<span class="col ellipsis">
{{ data }}
</span>
</div>
</template>
<script>
@@ -47,6 +52,14 @@ export default {
id: "avatar-" + _.random(1000000)
};
},
computed: {
/**
* Verify if data is an array.
*/
showTooltip() {
return typeof this.data !== 'string'
}
},
methods: {
/**
* Generates the mail link