Fix empty error message
This commit is contained in:
@@ -732,7 +732,7 @@ public sealed partial class TasksIslandViewModel : ViewModelBase, IDisposable
|
|||||||
{
|
{
|
||||||
if (row is null || !row.IsWaitingForReview || _worker is null) return;
|
if (row is null || !row.IsWaitingForReview || _worker is null) return;
|
||||||
try { await _worker.ApproveReviewAsync(row.Id, ""); }
|
try { await _worker.ApproveReviewAsync(row.Id, ""); }
|
||||||
catch { /* offline; broadcast reconciles on return */ }
|
catch (Exception ex) { ErrorReported?.Invoke(Loc.T("vm.tasksIsland.approveFailed", ex.Message)); }
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task RejectReviewToQueueAsync(TaskRowViewModel row, string feedback)
|
public async Task RejectReviewToQueueAsync(TaskRowViewModel row, string feedback)
|
||||||
|
|||||||
Reference in New Issue
Block a user