Browse Source

fix front page project links going to questlog on mobile, projects on desktop.

main
Gisle Aune 4 years ago
parent
commit
9363958f5f
  1. 2
      svelte-ui/src/components/ProjectEntry.svelte
  2. 2
      svelte-ui/src/pages/FrontPage.svelte

2
svelte-ui/src/components/ProjectEntry.svelte

@ -46,7 +46,7 @@
nonHiddenTasks = [...activeTasks, ...todoTasks, ...onholdTasks];
}
$: linkTarget = IS_MOBILE ? `/questlog#${project.id}` : `/projects#${project.id}`
$: linkTarget = IS_MOBILE ? `/projects#${project.id}` : `/questlog#${project.id}`
</script>
<StatusColor affects="project" entry={project}>

2
svelte-ui/src/pages/FrontPage.svelte

@ -5,7 +5,7 @@
import RefreshSelection from "../components/RefreshSelection.svelte";
import type { ProjectResult } from "../models/project";
import { fpGoalStore } from "../stores/goal";
import projectStore, { fpProjectStore } from "../stores/project";
import { fpProjectStore } from "../stores/project";
import { fpTaskStore } from "../stores/tasks";
let fakeMap: {[projectId: string]: boolean} = {}

Loading…
Cancel
Save