diff --git a/frontend/src/components/Calendar/CalendarEventPanel.vue b/frontend/src/components/Calendar/CalendarEventPanel.vue index 838234bb..fca827bc 100644 --- a/frontend/src/components/Calendar/CalendarEventPanel.vue +++ b/frontend/src/components/Calendar/CalendarEventPanel.vue @@ -349,7 +349,6 @@ import DealsIcon from '@/components/Icons/DealsIcon.vue' import Link from '@/components/Controls/Link.vue' import EditIcon from '@/components/Icons/EditIcon.vue' import DescriptionIcon from '@/components/Icons/DescriptionIcon.vue' -import TimePicker from '@/components/Calendar/TimePicker.vue' import { globalStore } from '@/stores/global' import { usersStore } from '@/stores/users' import { validateEmail } from '@/utils' @@ -358,6 +357,7 @@ import { TextInput, Switch, DatePicker, + TimePicker, TextEditor, ErrorMessage, Dropdown, @@ -721,7 +721,7 @@ function formatDuration(mins) { let hours = mins / 60 // keep hours decimal to 2 only if decimal is not 0 - if (hours % 1 !== 0) { + if (hours % 1 !== 0 && hours % 1 !== 0.5) { hours = hours.toFixed(2) } diff --git a/frontend/src/components/Calendar/TimePicker.vue b/frontend/src/components/Calendar/TimePicker.vue deleted file mode 100644 index e2e0a57d..00000000 --- a/frontend/src/components/Calendar/TimePicker.vue +++ /dev/null @@ -1,504 +0,0 @@ - - - diff --git a/frontend/src/components/Modals/AddExistingUserModal.vue b/frontend/src/components/Modals/AddExistingUserModal.vue index d11c2f61..3159f58d 100644 --- a/frontend/src/components/Modals/AddExistingUserModal.vue +++ b/frontend/src/components/Modals/AddExistingUserModal.vue @@ -6,8 +6,8 @@ >