mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-30 01:17:37 +03:00
Always go to the board when switching projects
This commit is contained in:
parent
838150c7a4
commit
867d82efde
@ -16,10 +16,6 @@
|
||||
export function hide() {
|
||||
hidden = true;
|
||||
}
|
||||
|
||||
function changeProject(projectId: string) {
|
||||
goto(location.href.replace($page.params.projectId, projectId));
|
||||
}
|
||||
</script>
|
||||
|
||||
{#if !hidden}
|
||||
@ -33,7 +29,7 @@
|
||||
icon={selected ? 'tick' : undefined}
|
||||
on:click={() => {
|
||||
hide();
|
||||
changeProject(project.id);
|
||||
goto(`/${project.id}/board`);
|
||||
}}
|
||||
>
|
||||
{project.title}
|
||||
|
Loading…
Reference in New Issue
Block a user