Skip to content

Commit ca513b2

Browse files
committed
Fixed HasAction property
1 parent 5d527f1 commit ca513b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Codebreaker.ViewModels/Components/InfoMessageViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public partial class InfoMessageViewModel(Action closeAction) : ObservableObject
3131
[NotifyPropertyChangedFor(nameof(HasAction))]
3232
private string? _actionText = "OK";
3333

34-
public bool HasAction => ExecuteActionCommand is not null && ActionText is not null;
34+
public bool HasAction => Action is not null && ActionText is not null;
3535

3636
[ObservableProperty]
3737
[NotifyCanExecuteChangedFor(nameof(CloseCommand))]

0 commit comments

Comments
 (0)