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
1167ae1f
Verified
Commit
1167ae1f
authored
1 year ago
by
Daniel Göbel
Browse files
Options
Downloads
Patches
Plain Diff
Fix wrong API call when deleting a workflow execution
#69
parent
e1f6c1f9
No related branches found
No related tags found
2 merge requests
!84
Remove development branch
,
!64
Resolve "Fix wrong API call when deleting a workflow execution"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/stores/workflowExecutions.ts
+1
-1
1 addition, 1 deletion
src/stores/workflowExecutions.ts
src/views/workflows/ListWorkflowExecutionsView.vue
+2
-2
2 additions, 2 deletions
src/views/workflows/ListWorkflowExecutionsView.vue
with
3 additions
and
3 deletions
src/stores/workflowExecutions.ts
+
1
−
1
View file @
1167ae1f
...
@@ -60,7 +60,7 @@ export const useWorkflowExecutionStore = defineStore({
...
@@ -60,7 +60,7 @@ export const useWorkflowExecutionStore = defineStore({
.
finally
(
onFinally
);
.
finally
(
onFinally
);
},
},
deleteExecution
(
executionId
:
string
):
Promise
<
void
>
{
deleteExecution
(
executionId
:
string
):
Promise
<
void
>
{
return
WorkflowExecutionService
.
workflowExecution
Cancel
WorkflowExecution
(
return
WorkflowExecutionService
.
workflowExecution
Delete
WorkflowExecution
(
executionId
,
executionId
,
).
then
(()
=>
{
).
then
(()
=>
{
delete
this
.
executionMapping
[
executionId
];
delete
this
.
executionMapping
[
executionId
];
...
...
This diff is collapsed.
Click to expand it.
src/views/workflows/ListWorkflowExecutionsView.vue
+
2
−
2
View file @
1167ae1f
...
@@ -63,11 +63,11 @@ const deleteModalString = computed<string>(() => {
...
@@ -63,11 +63,11 @@ const deleteModalString = computed<string>(() => {
return
`Workflow Execution
${
return
`Workflow Execution
${
workflowRepository
.
workflowMapping
[
workflowRepository
.
workflowMapping
[
executionsState
.
executionToDelete
.
workflow_id
executionsState
.
executionToDelete
.
workflow_id
]
]
.
name
}
@
${
}
@
${
workflowRepository
.
versionMapping
[
workflowRepository
.
versionMapping
[
executionsState
.
executionToDelete
.
workflow_version_id
executionsState
.
executionToDelete
.
workflow_version_id
]
]
.
version
}
from
${
dayjs
}
from
${
dayjs
.
unix
(
executionsState
.
executionToDelete
.
start_time
)
.
unix
(
executionsState
.
executionToDelete
.
start_time
)
.
format
(
"
DD.MM.YYYY HH:mm
"
)}
`
;
.
format
(
"
DD.MM.YYYY HH:mm
"
)}
`
;
...
...
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