108e7af578
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/931 Reviewed-by: konrad <k@knt.li> Co-authored-by: dpschen <dpschen@noreply.kolaente.de> Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
20 lines
No EOL
400 B
Vue
20 lines
No EOL
400 B
Vue
<template>
|
|
<div class="content has-text-centered">
|
|
<ShowTasks
|
|
:end-date="endDate"
|
|
:start-date="startDate"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
import ShowTasks from './ShowTasks'
|
|
|
|
function getNextWeekDate() {
|
|
return new Date((new Date()).getTime() + 7 * 24 * 60 * 60 * 1000)
|
|
}
|
|
|
|
const startDate = ref(new Date())
|
|
const endDate = ref(getNextWeekDate())
|
|
</script> |