mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 12:12:15 +01:00
Dashboard Data Refresh After creating a time entry, fixes ST-299
This commit is contained in:
committed by
Constantin Graf
parent
c09119af33
commit
b518187ecb
@@ -45,12 +45,17 @@ const { tasks } = storeToRefs(taskStore);
|
||||
const clientStore = useClientsStore();
|
||||
const { clients } = storeToRefs(clientStore);
|
||||
|
||||
const emit = defineEmits<{
|
||||
change: [];
|
||||
}>();
|
||||
|
||||
watch(isActive, () => {
|
||||
if (isActive.value) {
|
||||
startLiveTimer();
|
||||
} else {
|
||||
stopLiveTimer();
|
||||
}
|
||||
emit('change');
|
||||
});
|
||||
|
||||
onMounted(async () => {
|
||||
|
||||
Reference in New Issue
Block a user