Skip to content

Commit 4ef1aaa

Browse files
committed
refactor(Dashboard): split long expression for readability in workflow details view
Signed-off-by: Jean-Baptiste Bianchi <jb.bianchi@neuroglia.io>
1 parent 1d6c38b commit 4ef1aaa

File tree

1 file changed

+5
-1
lines changed
  • src/dashboard/Synapse.Dashboard/Pages/Workflows/Details

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@
4343
OnSuspend="async (instance) => await Store.SuspendInstanceAsync(instance)"
4444
OnResume="async (instance) => await Store.ResumeInstanceAsync(instance)"
4545
OnCancel="async (instance) => await Store.CancelInstanceAsync(instance)"
46-
OnReplay="async (instance) => await Store.OnShowCreateInstanceAsync(workflowDefinition, operators ?? [], instance.Spec?.Input, instance.Metadata.Labels?.Get(SynapseDefaults.Resources.Labels.Operator) ?? operatorName)"
46+
OnReplay="async (instance) => await Store.OnShowCreateInstanceAsync(
47+
workflowDefinition, operators ?? [],
48+
instance.Spec?.Input,
49+
instance.Metadata.Labels?.Get(SynapseDefaults.Resources.Labels.Operator) ?? operatorName
50+
)"
4751
OnDelete="OnDeleteWorkflowInstanceAsync"
4852
OnToggleSelected="Store.ToggleResourceSelection"
4953
OnSuspendSelected="async () => await Store.OnSuspendSelectedInstancesAsync()"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy