mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 09:42:15 +01:00
fix timeentry checkboxes
This commit is contained in:
@@ -78,9 +78,8 @@ function updateProjectAndTask(projectId: string, taskId: string) {
|
||||
|
||||
const expanded = ref(false);
|
||||
|
||||
function onSelectChange(event: Event) {
|
||||
const target = event.target as HTMLInputElement;
|
||||
if (target.checked) {
|
||||
function onSelectChange(checked: boolean) {
|
||||
if (checked) {
|
||||
emit('selected', [...props.timeEntry.timeEntries]);
|
||||
} else {
|
||||
emit('unselected', [...props.timeEntry.timeEntries]);
|
||||
@@ -94,7 +93,7 @@ function onSelectChange(event: Event) {
|
||||
data-testid="time_entry_row">
|
||||
<MainContainer class="min-w-0">
|
||||
<div
|
||||
class="sm:flex py-2 items-center min-w-0 justify-between group">
|
||||
class="sm:flex py-1.5 items-center min-w-0 justify-between group">
|
||||
<div class="flex space-x-3 items-center min-w-0">
|
||||
<Checkbox
|
||||
:checked="
|
||||
|
||||
Reference in New Issue
Block a user