2023-08-31 07:05:21 +00:00
|
|
|
<script setup>
|
2024-05-15 12:31:51 +00:00
|
|
|
defineProps({ phoneNumber: { type: [String, Number], default: null } });
|
2023-08-31 07:05:21 +00:00
|
|
|
</script>
|
|
|
|
<template>
|
2023-09-07 06:23:55 +00:00
|
|
|
<QBtn
|
2024-05-15 12:31:51 +00:00
|
|
|
v-if="phoneNumber"
|
2023-09-07 06:23:55 +00:00
|
|
|
flat
|
|
|
|
round
|
|
|
|
icon="phone"
|
|
|
|
size="sm"
|
|
|
|
color="primary"
|
2023-09-07 07:27:23 +00:00
|
|
|
padding="none"
|
2024-05-15 12:31:51 +00:00
|
|
|
:href="`sip:${phoneNumber}`"
|
2023-09-07 06:23:55 +00:00
|
|
|
@click.stop
|
|
|
|
/>
|
2023-08-31 07:05:21 +00:00
|
|
|
</template>
|