Skip to content

Commit b38212a

Browse files
authored
fix: Show only my locks checkbox did not work anymore in the LFS Locks window (#1845)
1 parent 501aae9 commit b38212a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/ViewModels/LFSLocks.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ public class LFSLocks : ObservableObject
1010
{
1111
public bool HasValidUserName
1212
{
13-
get;
14-
private set;
15-
} = false;
13+
get => _hasValidUsername;
14+
private set => SetProperty(ref _hasValidUsername, value);
15+
}
1616

1717
public bool IsLoading
1818
{
@@ -99,5 +99,6 @@ private void UpdateVisibleLocks()
9999
private List<Models.LFSLock> _visibleLocks = [];
100100
private bool _showOnlyMyLocks = false;
101101
private string _userName;
102+
private bool _hasValidUsername;
102103
}
103104
}

0 commit comments

Comments
 (0)