WIP поправил mock и отображение данных из него в таблице
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<template lang="pug">
|
||||
.flex.box-border.px-4.items-center.w-full(:style="{ minWidth : width + 'px' }")
|
||||
span.text-sm {{value}}
|
||||
span.text-sm {{value.some((el) => el.kind === "EMAIL")?value.find((el) => el.kind === "EMAIL").username:''}}
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "TableCellBodyEmail",
|
||||
props: {
|
||||
value: String,
|
||||
value: Array,
|
||||
width: Number,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user