From 0425296e5bc95ab94556ab09700844b1222dc077 Mon Sep 17 00:00:00 2001
From: Andrew <saintruler@gmail.com>
Date: Tue, 23 Jul 2019 13:15:29 +0400
Subject: =?UTF-8?q?=D0=9A=D0=BE=D0=BB=D0=BB=D0=B1=D1=8D=D0=BA=D0=B8=20?=
 =?UTF-8?q?=D0=B7=D0=B0=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D1=8B=20=D0=BD=D0=B0?=
 =?UTF-8?q?=20=D1=81=D0=BE=D0=B1=D1=8B=D1=82=D0=B8=D1=8F.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 day9/task5_vue/src/App.vue | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'day9/task5_vue/src/App.vue')

diff --git a/day9/task5_vue/src/App.vue b/day9/task5_vue/src/App.vue
index 8def105..42ba3b1 100644
--- a/day9/task5_vue/src/App.vue
+++ b/day9/task5_vue/src/App.vue
@@ -3,13 +3,13 @@
         <EditFormBox
                 v-bind:form-type="formType"
                 v-bind:table-row="formData"
-                v-bind:cancel-callback="hideForm"
-                v-bind:show-popup="showPopup"
+                @close-form="hideForm"
+                @show-popup="showPopup($event)"
                 v-if="isFormShown"
         />
-        <Table v-bind:table-data="tableData" v-bind:show-form-callback="showForm"/>
+        <Table v-bind:table-data="tableData" @show-form="showForm('update', $event)"/>
         <UploadFileButton v-if="!isFormShown"/>
-        <AddNewEntryButton v-if="!isFormShown" v-bind:show-form-callback="showForm"/>
+        <AddNewEntryButton v-if="!isFormShown" @show-form="showForm('create', $event)"/>
 
         <transition name="fade">
             <PopupMessage v-if="isPopupShown" v-bind:message="popupMessage"/>
-- 
cgit v1.2.3

