fix: updated button to send email ui
This commit is contained in:
parent
3d659bb88e
commit
5239d7ae63
@ -1,14 +1,21 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="max-w-[81.7%] pl-16 p-4 pt-2">
|
<div class="flex gap-3 pt-2 pb-6 px-10">
|
||||||
<button
|
<UserAvatar :user="getUser().name" size="xl" />
|
||||||
|
<Button
|
||||||
ref="sendEmailRef"
|
ref="sendEmailRef"
|
||||||
class="flex gap-2 w-full items-center rounded-lg p-2 bg-gray-100 hover:bg-gray-200"
|
variant="outline"
|
||||||
|
size="md"
|
||||||
|
class="h-8.5 w-full inline-flex justify-between"
|
||||||
@click="showCommunicationBox = true"
|
@click="showCommunicationBox = true"
|
||||||
v-show="!showCommunicationBox"
|
v-show="!showCommunicationBox"
|
||||||
>
|
>
|
||||||
<UserAvatar :user="getUser().name" size="sm" />
|
|
||||||
<div class="text-base text-gray-600">Add a reply...</div>
|
<div class="text-base text-gray-600">Add a reply...</div>
|
||||||
</button>
|
<template #suffix>
|
||||||
|
<div class="flex gap-3">
|
||||||
|
<!-- <FeatherIcon name="paperclip" class="h-4" /> -->
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</Button>
|
||||||
<div
|
<div
|
||||||
v-show="showCommunicationBox"
|
v-show="showCommunicationBox"
|
||||||
class="w-full rounded-lg border bg-white p-4 focus-within:border-gray-400"
|
class="w-full rounded-lg border bg-white p-4 focus-within:border-gray-400"
|
||||||
@ -49,7 +56,7 @@ import UserAvatar from '@/components/UserAvatar.vue'
|
|||||||
import EmailEditor from '@/components/EmailEditor.vue'
|
import EmailEditor from '@/components/EmailEditor.vue'
|
||||||
import PhoneIcon from '@/components/Icons/PhoneIcon.vue'
|
import PhoneIcon from '@/components/Icons/PhoneIcon.vue'
|
||||||
import { usersStore } from '@/stores/users'
|
import { usersStore } from '@/stores/users'
|
||||||
import { Tooltip, call, Button } from 'frappe-ui'
|
import { Tooltip, call, FeatherIcon } from 'frappe-ui'
|
||||||
import { ref, watch, computed, defineModel } from 'vue'
|
import { ref, watch, computed, defineModel } from 'vue'
|
||||||
|
|
||||||
const modelValue = defineModel()
|
const modelValue = defineModel()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user