Skip to content

Commit f3ae224

Browse files
committed
refactor(Dashboard): remove unused code
Signed-off-by: Jean-Baptiste Bianchi <[email protected]>
1 parent 0d7af28 commit f3ae224

File tree

1 file changed

+0
-10
lines changed
  • src/dashboard/Synapse.Dashboard/Pages/Workflows/Create

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ else
136136
protected string? operatorName { get; set; }
137137
protected EquatableDictionary<string, string> labels { get; set; } = [];
138138
protected EquatableDictionary<string, string> annotations { get; set; } = [];
139-
string labelKey = string.Empty;
140-
string labelValue = string.Empty;
141139

142140
[Parameter] public string? Namespace { get; set; }
143141
[Parameter] public string? Name { get; set; }
@@ -174,12 +172,4 @@ else
174172
}
175173
}
176174

177-
protected void AddLabel()
178-
{
179-
Store.AddLabel(labelKey, labelValue);
180-
labelKey = string.Empty;
181-
labelValue = string.Empty;
182-
OnStateChanged();
183-
}
184-
185175
}

0 commit comments

Comments
 (0)