Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMP-3182: added msg to indicate empty workflow #512

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/components/workflow/SelectWorkflow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,25 @@
<h4>Workflow Node Parameters</h4>
<div class="scroll-div">
<ul class="list-unstyled">
<li v-if="workflowSubmission.selectedWorkflowParameters.length==0">
No step specified in workflow.
</li>
<li
v-for="(param,
index) in workflowSubmission.selectedWorkflowParameters"
v-bind:key="index"
:key="index"
class="node-li"
>
<h5 class="node-name">
Node {{ param.nodeId }}: {{ param.nodeName }}
</h5>
<div v-if="param.params.length==0">
No parameter specified.
</div>
<div
v-for="(p, paramIndex) in param.params"
v-bind:key="paramIndex"
v-bind:value="p.name"
:key="paramIndex"
:value="p.name"
>
{{ p.name }}: {{ p.value }}
</div>
Expand Down
9 changes: 9 additions & 0 deletions src/components/workflow/WorkflowList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@
type="dark"
class="nav-pills"
>
<span v-if="!workflow.details || workflow.details.length==0">
No step specified in workflow.
</span>
<span v-for="(node, i) in workflow.details" :key="i">
<b-nav-item
:class="
Expand All @@ -151,6 +154,12 @@
workflow && workflow.details && workflow.details.length
"
>
<div
v-if="workflow.details[workflow.selectedNode].params.length==0"
class="mr-5 d-flex"
>
No parameter specified.
</div>
<div
class="mr-5 d-flex"
v-for="(p, paramIndex) in workflow.details[
Expand Down
Loading