We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fe0ea5 commit 3b41de7Copy full SHA for 3b41de7
resources/js/packages/ui/src/TimeEntry/TimeEntryEditModal.vue
@@ -68,19 +68,6 @@ watch(
68
{ immediate: true }
69
);
70
71
-watch(
72
- () => editableTimeEntry.value?.project_id,
73
- (value) => {
74
- if (value && editableTimeEntry.value) {
75
- // check if project is billable by default and set billable accordingly
76
- const project = props.projects.find((p) => p.id === value);
77
- if (project) {
78
- editableTimeEntry.value.billable = project.is_billable;
79
- }
80
81
82
-);
83
-
84
const localStart = computed({
85
get: () =>
86
editableTimeEntry.value ? getLocalizedDayJs(editableTimeEntry.value.start).format() : '',
0 commit comments