Skip to content

Commit

Permalink
fix(ui): revision on loaded on restart task
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jan 13, 2023
1 parent db82378 commit 39f584a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ui/src/components/executions/Restart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{{ $t(replayOrRestart) }}
</component>

<el-dialog v-if="enabled && isOpen" v-model="isOpen" @open="loadRevision" destroy-on-close :append-to-body="true">
<el-dialog v-if="enabled && isOpen" v-model="isOpen" destroy-on-close :append-to-body="true">
<template #header>
<h5>{{ $t("confirmation") }}</h5>
</template>
Expand Down Expand Up @@ -91,6 +91,13 @@
}
},
emits: ["follow"],
watch: {
isOpen(newValue, oldValue) {
if (newValue) {
this.loadRevision()
}
}
},
methods: {
loadRevision() {
this.revisionsSelected = this.execution.flowRevision
Expand Down

1 comment on commit 39f584a

@Melkaz
Copy link

@Melkaz Melkaz commented on 39f584a Jan 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks <3

Please sign in to comment.