Skip to content

Commit

Permalink
fix wrong update on time range selector that causes duplicate time en…
Browse files Browse the repository at this point in the history
…try start requests, fixes ST-449
  • Loading branch information
Onatcer committed Oct 8, 2024
1 parent d3d3a98 commit b3b84db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/packages/ui/src/Input/TimeRangeSelector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const tempEnd = ref(props.end ? getLocalizedDayJs(props.end).format() : null);
watch(props, () => {
tempStart.value = getLocalizedDayJs(props.start).format();
tempEnd.value = getLocalizedDayJs(props.end).format();
tempEnd.value = props.end ? getLocalizedDayJs(props.end).format() : null;
});
function updateTimeEntry() {
const tempStartUtc = getDayJsInstance()(tempStart.value).utc().format();
Expand Down

0 comments on commit b3b84db

Please sign in to comment.