Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CloWM UI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Monitor
Service Desk
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computational Metagenomics
CloWM
CloWM UI
Commits
1a5038cc
Commit
1a5038cc
authored
1 year ago
by
Daniel Göbel
Browse files
Options
Downloads
Plain Diff
Merge branch 'bugfix/102-endless-loop-when-fetching-and-soritng-workflows' into 'main'
Resolve "Endless loop when fetching and soritng workflows" Closes
#102
See merge request
!99
parents
d27a30da
61d695e4
No related branches found
No related tags found
1 merge request
!99
Resolve "Endless loop when fetching and soritng workflows"
Pipeline
#48052
canceled
1 year ago
Stage: test
Stage: build
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/views/resources/ReviewResourceView.vue
+2
-2
2 additions, 2 deletions
src/views/resources/ReviewResourceView.vue
src/views/workflows/ListWorkflowsView.vue
+5
-5
5 additions, 5 deletions
src/views/workflows/ListWorkflowsView.vue
with
7 additions
and
7 deletions
src/views/resources/ReviewResourceView.vue
+
2
−
2
View file @
1a5038cc
...
...
@@ -120,7 +120,7 @@ onMounted(() => {
<div
class=
"row border-bottom mb-4 justify-content-between align-items-center"
>
<h2
class=
"w-fit"
>
Resource
R
equests
</h2>
<h2
class=
"w-fit"
>
Resource
r
equests
</h2>
<span
class=
"w-fit"
tabindex=
"0"
...
...
@@ -236,7 +236,7 @@ onMounted(() => {
</tbody>
</table>
<div
v-else
class=
"text-center mt-5 fs-4"
>
There are currently no
R
esources to review
There are currently no
r
esources to review
</div>
</template>
...
...
This diff is collapsed.
Click to expand it.
src/views/workflows/ListWorkflowsView.vue
+
5
−
5
View file @
1a5038cc
...
...
@@ -48,12 +48,12 @@ function filterWorkflowWithoutVersion(workflow: WorkflowOut): boolean {
}
const
workflowWithSortedVersions
=
computed
<
WorkflowOut
[]
>
(()
=>
{
const
temp
=
[...
workflowRepository
.
workflows
]
;
temp
.
forEach
((
workflow
)
=>
{
const
versions
=
[...
workflow
.
versions
];
const
temp
=
JSON
.
parse
(
JSON
.
stringify
(
workflowRepository
.
workflows
))
;
for
(
const
index
in
temp
)
{
const
versions
=
[...
temp
[
index
]
.
versions
];
versions
.
sort
((
a
,
b
)
=>
(
a
.
created_at
<
b
.
created_at
?
1
:
-
1
));
workflow
.
versions
=
versions
;
}
);
temp
[
index
]
.
versions
=
versions
;
}
return
temp
;
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment