Refuse turns, discard and subtasks while a merge is finalizing
This commit is contained in:
@@ -531,11 +531,7 @@ func (m *Manager) paneFinished(ctx context.Context, f api.Focus) (string, error)
|
||||
if task.Status != api.TaskStatusActive {
|
||||
return "is " + string(task.Status), nil
|
||||
}
|
||||
mergingBy, err := m.store.MergingBy(ctx, task.Id)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
if mergingBy != "" {
|
||||
if task.Merging {
|
||||
return "is merging", nil
|
||||
}
|
||||
if f.Tab != api.TabInbox {
|
||||
|
||||
Reference in New Issue
Block a user