summaryrefslogtreecommitdiff
path: root/day9/task5_vue/src/components/EditFormBox.vue
diff options
context:
space:
mode:
authorAndrew <saintruler@gmail.com>2019-07-24 15:41:54 +0400
committerAndrew <saintruler@gmail.com>2019-07-24 15:41:54 +0400
commitd475ee2999a1fd43c03518100bd55b0929acc5d9 (patch)
tree68ef3635a349c8f749c6e21ec853574bbf4e9f8c /day9/task5_vue/src/components/EditFormBox.vue
parente38a785445b12b696beefb4cfef815ecfe89711d (diff)
Добавлен новый тип всплывающих сообщений.
Исправлена генерация UPDATE запросов в mysql обертке.
Diffstat (limited to 'day9/task5_vue/src/components/EditFormBox.vue')
-rw-r--r--day9/task5_vue/src/components/EditFormBox.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/day9/task5_vue/src/components/EditFormBox.vue b/day9/task5_vue/src/components/EditFormBox.vue
index 42bb3c6..276dbbe 100644
--- a/day9/task5_vue/src/components/EditFormBox.vue
+++ b/day9/task5_vue/src/components/EditFormBox.vue
@@ -170,7 +170,7 @@
})
.then(response => {
this.$emit('close-form');
- this.$emit('show-popup', 'Database updated successfully');
+ this.$emit('show-popup', {'type': 'success', 'meg': 'Database updated successfully'});
});
}
}