Skip to content

Commit 6c67e44

Browse files
author
Peter Samoilov
committed
Updated code to use latest buefy version
1 parent fc04fb5 commit 6c67e44

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pystacker-front/src/components/Stack/Card.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
})
141141
},
142142
del() {
143-
this.$dialog.confirm({
143+
this.$buefy.dialog.confirm({
144144
title: 'Deleting stack',
145145
message: 'Are you sure you want to <b>delete</b> stack? This action cannot be undone.',
146146
confirmText: 'Delete stack',

pystacker-front/src/components/Stack/Create.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
createAndLeave() {
7070
this.$store.dispatch('stacks/createStack', {id: this.id, vars: this.collectVars(), name: this.name})
7171
.then((r) => this.$router.push("/stack/" + r['id']))
72-
.catch(r => this.$toast.open({
72+
.catch(r => this.$buefy.toast.open({
7373
duration: 5000,
7474
message: `Error creating stack: ${r}`,
7575
position: 'is-top',

pystacker-front/src/components/Stack/ViewStack.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
})
178178
},
179179
del() {
180-
this.$dialog.confirm({
180+
this.$buefy.dialog.confirm({
181181
title: 'Deleting stack',
182182
message: 'Are you sure you want to <b>delete</b> stack? This action cannot be undone.',
183183
confirmText: 'Delete stack',

0 commit comments

Comments
 (0)