Skip to content

Commit fbaa891

Browse files
committed
refactor(Dashboard): replace EquatableList with IEnumerable in views properties
Signed-off-by: Jean-Baptiste Bianchi <[email protected]>
1 parent 4ef1aaa commit fbaa891

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dashboard/Synapse.Dashboard/Components/CreateWorkflowInstanceDialog/CreateWorkflowInstanceDialog.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
string? operatorName;
7979

8080
[Parameter] public WorkflowDefinition? WorkflowDefinition { get; set; }
81-
[Parameter] public EquatableList<Operator> Operators { get; set; } = [];
81+
[Parameter] public IEnumerable<Operator> Operators { get; set; } = [];
8282
[Parameter] public string? OperatorName { get; set; } = null;
8383
[Parameter] public EquatableDictionary<string, object>? Input { get; set; }
8484
[Parameter] public EventCallback<CreateWorkflowInstanceParameters> OnCreate { get; set; }

src/dashboard/Synapse.Dashboard/Pages/Workflows/Create/View.razor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ else
9898
bool loading = true;
9999
bool saving;
100100
private ProblemDetails? problemDetails = null;
101-
protected EquatableList<Operator>? operators { get; set; }
101+
protected IEnumerable<Operator>? operators { get; set; }
102102
protected string? operatorName { get; set; }
103103

104104
[Parameter] public string? Namespace { get; set; }

0 commit comments

Comments
 (0)