fix: misc issues in app & website (#5512)

* fix: debug info copy button overflowing badly

* fix: updating instance's disabled mods re-enables them

* fix: modpack update enables previous disabled mods

* fix: add more languages #5508
This commit is contained in:
Truman Gao
2026-03-09 15:10:32 -07:00
committed by GitHub
parent f62c60a681
commit 9a8712c76e
6 changed files with 170 additions and 61 deletions

View File

@@ -342,7 +342,7 @@ pub async fn update_project(
.remove(project_path)
&& let Some(update_version) = &file.update_version_id
{
let path = Profile::add_project_version(
let mut path = Profile::add_project_version(
profile_path,
update_version,
&state.pool,
@@ -351,6 +351,11 @@ pub async fn update_project(
)
.await?;
if project_path.ends_with(".disabled") {
path = Profile::toggle_disable_project(profile_path, &path)
.await?;
}
if path != project_path {
Profile::remove_project(profile_path, project_path).await?;
}