fixes: post content tab release issues (#5566)
* fix: migrate old cache entries for CachedFileUpdate * feat: toggle goofy fix + switch version reimpl in app and panel * fix: multimc detection * fix: add tie breaker for sorting * feat: toggle hover state * fix: lint
This commit is contained in:
@@ -577,7 +577,10 @@ async fn profile_files_to_content_items(
|
||||
.as_ref()
|
||||
.map(|p| p.title.as_str())
|
||||
.unwrap_or(&b.file_name);
|
||||
name_a.to_lowercase().cmp(&name_b.to_lowercase())
|
||||
name_a
|
||||
.to_lowercase()
|
||||
.cmp(&name_b.to_lowercase())
|
||||
.then_with(|| a.file_name.cmp(&b.file_name))
|
||||
});
|
||||
|
||||
Ok(items)
|
||||
@@ -765,7 +768,10 @@ pub async fn dependencies_to_content_items(
|
||||
.as_ref()
|
||||
.map(|p| p.title.as_str())
|
||||
.unwrap_or(&b.file_name);
|
||||
name_a.to_lowercase().cmp(&name_b.to_lowercase())
|
||||
name_a
|
||||
.to_lowercase()
|
||||
.cmp(&name_b.to_lowercase())
|
||||
.then_with(|| a.file_name.cmp(&b.file_name))
|
||||
});
|
||||
|
||||
Ok(items)
|
||||
|
||||
Reference in New Issue
Block a user