Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfa0fe6c

Browse files
Sewer56erri120
authored andcommitted
Merge pull request#3611 from erri120/misc/fix-can-delete
Require one mutable collection for deletion
1 parentb1ff83d commitfa0fe6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/NexusMods.App.UI/Pages/LoadoutPage/LoadoutViewModel.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ public LoadoutViewModel(
388388

389389
varcanDelete=CollectionGroup
390390
.ObserveAll(_connection)
391-
.FilterImmutable(group=>group.AsLoadoutItemGroup().AsLoadoutItem().LoadoutId==loadoutId)
391+
.FilterImmutable(group=>group.AsLoadoutItemGroup().AsLoadoutItem().LoadoutId==loadoutId&&!group.IsReadOnly)
392392
.QueryWhenChanged(query=>query.Count)
393393
.ToObservable()
394394
.Select(count=>count>1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp