Minor fixes (#2249)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2022-08-09 13:40:21 +07:00
committed by GitHub
parent 122cf92165
commit 14181885a8
10 changed files with 55 additions and 13 deletions
@@ -7,6 +7,8 @@
import tracker from '../../plugin'
import IssuesView from '../issues/IssuesView.svelte'
import ProjectPopup from './ProjectPopup.svelte'
import { activeProject } from '../../issues'
import { onDestroy } from 'svelte'
export let project: Project
@@ -22,6 +24,12 @@
}
})
}
$: $activeProject = project?._id
onDestroy(() => {
$activeProject = undefined
})
</script>
<IssuesView query={{ project: project._id, space: project.space }} label={project.label}>