Refactor: rename alert to dialog

This commit is contained in:
syuilo
2018-12-02 15:28:52 +09:00
parent bb14895fd8
commit c9ac9923df
27 changed files with 66 additions and 66 deletions

View File

@ -120,7 +120,7 @@ export default Vue.extend({
text: this.$t('push-to-list'),
action: async () => {
const lists = await this.$root.api('users/lists/list');
const listId = await this.$root.alert({
const listId = await this.$root.dialog({
type: null,
title: this.$t('select-list'),
select: {
@ -135,7 +135,7 @@ export default Vue.extend({
listId: listId,
userId: this.user.id
});
this.$root.alert({
this.$root.dialog({
type: 'success',
text: this.$t('list-pushed', {
user: this.user.name,