Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
rfmt(consultation): display scheduled start
Browse files Browse the repository at this point in the history
  • Loading branch information
lemredd committed Nov 14, 2022
1 parent b1360ff commit 649dd75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions components/consultation/chat_window.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
<ul class="selected-consultation-additional-details">
<li>Ticket: {{ consultationID }}</li>
<li>Status: {{ consultationStatus }}</li>
<li>Scheduled at: {{ readableScheduledAt }}</li>

<li>
<a
Expand Down Expand Up @@ -114,6 +115,7 @@ import type {
import { CONSULTATION_FORM_PRINT } from "$/constants/template_page_paths"
import makeSwitch from "$@/helpers/make_switch"
import formatToReadableTime from "$@/helpers/format_to_complete_friendly_time"
import assignPath from "$@/external/assign_path"
import specializePath from "$/helpers/specialize_path"
import ConsultationFetcher from "$@/fetchers/consultation"
Expand Down Expand Up @@ -332,6 +334,8 @@ function startConsultation() {
watchConsultation(consultation, registerListeners)
const readableScheduledAt = formatToReadableTime(consultation.value.scheduledStartAt)
const linkToPrintableForm = computed<string>(() => specializePath(CONSULTATION_FORM_PRINT, {
"id": consultationID.value
}))
Expand Down
1 change: 0 additions & 1 deletion components/consultation/chat_window/rescheduler.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
</template>

<template #default>
<p>Select the date and time to reschedule this consultation</p>
<Scheduler
v-model:chosen-day="chosenDay"
v-model:chosen-time="chosenTime"
Expand Down

0 comments on commit 649dd75

Please sign in to comment.