Browse Source
next: stop running time, display running time in header Signed-off-by: Stephan Richter <s.richter@srsoftware.de>feature/brute_force_protection
10 changed files with 79 additions and 59 deletions
@ -1,16 +0,0 @@
@@ -1,16 +0,0 @@
|
||||
<script> |
||||
import { onMount } from 'svelte'; |
||||
import { api } from '../../urls.svelte.js'; |
||||
import { t } from '../../translations.svelte.js'; |
||||
|
||||
let { task_id } = $props(); |
||||
|
||||
async function addTask(){ |
||||
const url = api(`time/track_task/${task_id}`); |
||||
const resp = await fetch(url,{credentials:'include'}); // create new time or return time with assigned tasks |
||||
} |
||||
|
||||
onMount(addTask) |
||||
</script> |
||||
|
||||
{t('timetracking')} |
||||
Loading…
Reference in new issue