mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 04:32:15 +01:00
add basic crud frontend for clients, tags and projects
This commit is contained in:
@@ -74,6 +74,11 @@ function deleteTimeEntry() {
|
||||
function updateTimeEntryDescription(description: string) {
|
||||
updateTimeEntry({ ...props.timeEntry, description });
|
||||
}
|
||||
|
||||
function updateTimeEntryTags(tags: string[]) {
|
||||
console.log(tags);
|
||||
updateTimeEntry({ ...props.timeEntry, tags });
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -97,7 +102,7 @@ function updateTimeEntryDescription(description: string) {
|
||||
</div>
|
||||
<div class="flex items-center font-medium space-x-2">
|
||||
<TimeEntryRowTagDropdown
|
||||
@changed="updateTimeEntry(timeEntry)"
|
||||
@changed="updateTimeEntryTags"
|
||||
:modelValue="timeEntry.tags"></TimeEntryRowTagDropdown>
|
||||
<div>
|
||||
<TimeEntryRangeSelector
|
||||
|
||||
Reference in New Issue
Block a user