2023-12-30 20:52:35 +01:00
|
|
|
export default {
|
|
|
|
data: {
|
|
|
|
user: {
|
|
|
|
_id: '1234',
|
|
|
|
username: 'Example User',
|
|
|
|
email: 'test@example.com'
|
|
|
|
},
|
|
|
|
newTask: {},
|
|
|
|
fetchedTasks: [
|
|
|
|
{
|
2023-12-30 23:07:20 +01:00
|
|
|
_id: 1,
|
2023-12-30 20:52:35 +01:00
|
|
|
title: 'frontend',
|
|
|
|
project: 'TiM',
|
|
|
|
client: 'Filip Rojek',
|
|
|
|
timeStart: 1703960133061,
|
|
|
|
timeEnd: 1703960141414
|
|
|
|
},
|
|
|
|
{
|
2023-12-30 23:07:20 +01:00
|
|
|
_id: 2,
|
2023-12-30 20:52:35 +01:00
|
|
|
title: 'setting up',
|
|
|
|
project: 'l2tp vpn',
|
|
|
|
client: 'IS Media',
|
|
|
|
timeStart: 1703960133061,
|
|
|
|
timeEnd: 1703960141414
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
// Methods that you need, for e.g fetching data from server etc.
|
|
|
|
fetchData() {
|
|
|
|
// fetch logic
|
|
|
|
}
|
|
|
|
}
|