From fbe88b73150400c2e540ab1c5fd61314840ba83c Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Sun, 25 Feb 2024 21:43:56 +0100 Subject: [PATCH] refactor: add examples Signed-off-by: Maksim Sukharev --- .../Participant/Participant.vue | 2 +- src/components/TopBar/CallTime.vue | 2 +- .../VolumeIndicator/VolumeIndicator.vue | 28 ++++++++++--------- .../{formattedTime.js => formattedTime.ts} | 7 ++--- 4 files changed, 20 insertions(+), 19 deletions(-) rename src/utils/{formattedTime.js => formattedTime.ts} (70%) diff --git a/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue b/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue index 6ba481ea524f..0aaa0bfb7499 100644 --- a/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue +++ b/src/components/RightSidebar/Participants/ParticipantsList/Participant/Participant.vue @@ -376,7 +376,7 @@ import { callSIPUnmutePhone, callSIPSendDTMF, } from '../../../../../services/callsService.js' -import { formattedTime } from '../../../../../utils/formattedTime.js' +import { formattedTime } from '../../../../../utils/formattedTime.ts' import { readableNumber } from '../../../../../utils/readableNumber.js' import { getStatusMessage } from '../../../../../utils/userStatus.js' diff --git a/src/components/TopBar/CallTime.vue b/src/components/TopBar/CallTime.vue index f887489bdda3..db6a13b269e2 100644 --- a/src/components/TopBar/CallTime.vue +++ b/src/components/TopBar/CallTime.vue @@ -81,7 +81,7 @@ import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' import NcPopover from '@nextcloud/vue/dist/Components/NcPopover.js' import { CALL } from '../../constants.js' -import { formattedTime } from '../../utils/formattedTime.js' +import { formattedTime } from '../../utils/formattedTime.ts' export default { name: 'CallTime', diff --git a/src/components/VolumeIndicator/VolumeIndicator.vue b/src/components/VolumeIndicator/VolumeIndicator.vue index e47cd6e94622..e6cd5ad6c701 100644 --- a/src/components/VolumeIndicator/VolumeIndicator.vue +++ b/src/components/VolumeIndicator/VolumeIndicator.vue @@ -39,7 +39,7 @@ -