Browse Source

fix: Fix the error in the workflow instance url

pull/1568/head
colin 3 weeks ago
parent
commit
1da0e5cbe4
  1. 2
      aspnet-core/modules/elsa/LINGYUN.Abp.ElsaNext.Studio.Dashboard.Blazor/Widgets/RecentActivityWidget.razor

2
aspnet-core/modules/elsa/LINGYUN.Abp.ElsaNext.Studio.Dashboard.Blazor/Widgets/RecentActivityWidget.razor

@ -65,7 +65,7 @@
// Official deep links target the standalone Studio host routes; this ABP host hosts the
// instance viewer at /elsa/workflows/instances/{id}, so build that link directly.
private static string InstanceUrl(DashboardRecentActivityItem item) => $"workflows/instances/{item.InstanceId}";
private static string InstanceUrl(DashboardRecentActivityItem item) => $"workflows/instances/{item.InstanceId}/view";
private string LocalizedStatus(string? status) => string.IsNullOrWhiteSpace(status) ? string.Empty : Text[status];

Loading…
Cancel
Save