Refactor: rename alert to dialog
This commit is contained in:
@@ -73,7 +73,7 @@ export default Vue.extend({
|
||||
},
|
||||
|
||||
block() {
|
||||
this.$root.alert({
|
||||
this.$root.dialog({
|
||||
type: 'warning',
|
||||
text: this.$t('block-confirm'),
|
||||
showCancelButton: true
|
||||
@@ -108,7 +108,7 @@ export default Vue.extend({
|
||||
listId: list.id,
|
||||
userId: this.user.id
|
||||
});
|
||||
this.$root.alert({
|
||||
this.$root.dialog({
|
||||
type: 'success',
|
||||
title: 'Done!',
|
||||
text: this.$t('list-pushed', {
|
||||
|
||||
Reference in New Issue
Block a user