fix front page project links going to questlog on mobile, projects on desktop.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-02-07 14:01:42 +01:00
parent 35b5a5e3df
commit 9363958f5f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
nonHiddenTasks = [...activeTasks, ...todoTasks, ...onholdTasks]; nonHiddenTasks = [...activeTasks, ...todoTasks, ...onholdTasks];
} }
$: linkTarget = IS_MOBILE ? `/questlog#${project.id}` : `/projects#${project.id}` $: linkTarget = IS_MOBILE ? `/projects#${project.id}` : `/questlog#${project.id}`
</script> </script>
<StatusColor affects="project" entry={project}> <StatusColor affects="project" entry={project}>
+1 -1
View File
@@ -5,7 +5,7 @@
import RefreshSelection from "../components/RefreshSelection.svelte"; import RefreshSelection from "../components/RefreshSelection.svelte";
import type { ProjectResult } from "../models/project"; import type { ProjectResult } from "../models/project";
import { fpGoalStore } from "../stores/goal"; import { fpGoalStore } from "../stores/goal";
import projectStore, { fpProjectStore } from "../stores/project"; import { fpProjectStore } from "../stores/project";
import { fpTaskStore } from "../stores/tasks"; import { fpTaskStore } from "../stores/tasks";
let fakeMap: {[projectId: string]: boolean} = {} let fakeMap: {[projectId: string]: boolean} = {}