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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user