fix(ui): project delete
This commit is contained in:
parent
637a265c24
commit
830fb70ee0
1 changed files with 1 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ function ProjectForm(props: Props) {
|
|||
if (onClose) {
|
||||
onClose(null);
|
||||
}
|
||||
projectsStore.setConfigProject(parseInt(projectStore.list[0].id!));
|
||||
if (project.id === projectsStore.active?.id) {
|
||||
projectsStore.setSiteId(projectStore.list[0].id!);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue