fix(ui): reset stale worktree state on TaskDetail reload
This commit is contained in:
@@ -85,6 +85,12 @@ public partial class TaskDetailViewModel : ViewModelBase
|
|||||||
var ct = cts.Token;
|
var ct = cts.Token;
|
||||||
|
|
||||||
_taskId = taskId;
|
_taskId = taskId;
|
||||||
|
HasWorktree = false;
|
||||||
|
WorktreeState = "";
|
||||||
|
BranchName = null;
|
||||||
|
DiffStat = null;
|
||||||
|
WorktreePath = null;
|
||||||
|
OnPropertyChanged(nameof(CanWorktreeAction));
|
||||||
LiveText = "";
|
LiveText = "";
|
||||||
_formatter = new StreamLineFormatter();
|
_formatter = new StreamLineFormatter();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user