qa: Include tasks in Todo list

This commit is contained in:
nemunaire 2022-11-07 12:34:16 +01:00
parent cb489396ab
commit 3049989ac6

View File

@ -1,6 +1,6 @@
import { writable, derived } from 'svelte/store';
import { getQAView, getQAWork } from '$lib/todo';
import { getQAView, getQATodo, getQAWork } from '$lib/todo';
function createTodosStore() {
const { subscribe, set, update } = writable([]);
@ -15,7 +15,8 @@ function createTodosStore() {
update,
refresh: async () => {
const list = await getQAWork();
const list = await getQATodo();
list.push(...await getQAWork());
update((m) => list);
return list;
},