|
@ -6,11 +6,18 @@ |
|
|
import QuestLog from "../components/QuestLog.svelte"; |
|
|
import QuestLog from "../components/QuestLog.svelte"; |
|
|
import RefreshSelection from "../components/RefreshSelection.svelte"; |
|
|
import RefreshSelection from "../components/RefreshSelection.svelte"; |
|
|
import projectGroupStore from "../stores/projectGroup"; |
|
|
import projectGroupStore from "../stores/projectGroup"; |
|
|
|
|
|
import projectStore from "../stores/project"; |
|
|
import { sortProjects } from "../utils/sorters"; |
|
|
import { sortProjects } from "../utils/sorters"; |
|
|
|
|
|
|
|
|
export let groupId = ""; |
|
|
export let groupId = ""; |
|
|
export let projectId = ""; |
|
|
export let projectId = ""; |
|
|
|
|
|
|
|
|
|
|
|
$: { |
|
|
|
|
|
if ($projectStore.stale && !$projectStore.loading) { |
|
|
|
|
|
projectStore.load(); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
$: { |
|
|
$: { |
|
|
if ($projectGroupStore.stale && !$projectGroupStore.loading) { |
|
|
if ($projectGroupStore.stale && !$projectGroupStore.loading) { |
|
|
projectGroupStore.load(); |
|
|
projectGroupStore.load(); |
|
@ -53,4 +60,4 @@ |
|
|
margin-top: 0; |
|
|
margin-top: 0; |
|
|
box-sizing: border-box; |
|
|
box-sizing: border-box; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
|
|
|
|
|
|
</style> |