mirror of
https://github.com/modrinth/code.git
synced 2026-09-03 13:36:48 +00:00
fix: unlinked instances not checking for updates correctly (#7186)
This commit is contained in:
@@ -929,10 +929,7 @@ async fn content_files_to_content_items(
|
|||||||
&meta.versions_v3,
|
&meta.versions_v3,
|
||||||
),
|
),
|
||||||
owner,
|
owner,
|
||||||
has_update: file.update_version_id.is_some()
|
has_update: file.update_version_id.is_some(),
|
||||||
&& !file.source_kind.is_some_and(
|
|
||||||
ContentSourceKind::is_shared_instance_managed,
|
|
||||||
),
|
|
||||||
update_version_id: file.update_version_id.clone(),
|
update_version_id: file.update_version_id.clone(),
|
||||||
date_added: modification_times[index].clone(),
|
date_added: modification_times[index].clone(),
|
||||||
source_kind: file.source_kind,
|
source_kind: file.source_kind,
|
||||||
|
|||||||
Reference in New Issue
Block a user