refactor(index): self closing components

This commit is contained in:
jamesgeorge007
2019-11-26 14:34:32 +05:30
parent 61f8e36383
commit ba1410c7f4

View File

@@ -8,19 +8,19 @@ TODO:
<addCollection <addCollection
v-bind:show="showModalAdd" v-bind:show="showModalAdd"
v-on:hide-modal="displayModalAdd(false)" v-on:hide-modal="displayModalAdd(false)"
></addCollection> />
<editCollection <editCollection
v-bind:show="showModalEdit" v-bind:show="showModalEdit"
v-bind:editingCollection="editingCollection" v-bind:editingCollection="editingCollection"
v-bind:editingCollectionIndex="editingCollectionIndex" v-bind:editingCollectionIndex="editingCollectionIndex"
v-on:hide-modal="displayModalEdit(false)" v-on:hide-modal="displayModalEdit(false)"
></editCollection> />
<addFolder <addFolder
v-bind:show="showModalAddFolder" v-bind:show="showModalAddFolder"
v-bind:collection="editingCollection" v-bind:collection="editingCollection"
v-bind:collectionIndex="editingCollectionIndex" v-bind:collectionIndex="editingCollectionIndex"
v-on:hide-modal="displayModalAddFolder(false)" v-on:hide-modal="displayModalAddFolder(false)"
></addFolder> />
<editFolder <editFolder
v-bind:show="showModalEditFolder" v-bind:show="showModalEditFolder"
v-bind:collection="editingCollection" v-bind:collection="editingCollection"
@@ -28,7 +28,7 @@ TODO:
v-bind:folder="editingFolder" v-bind:folder="editingFolder"
v-bind:folderIndex="editingFolderIndex" v-bind:folderIndex="editingFolderIndex"
v-on:hide-modal="displayModalEditFolder(false)" v-on:hide-modal="displayModalEditFolder(false)"
></editFolder> />
<editRequest <editRequest
v-bind:show="showModalEditRequest" v-bind:show="showModalEditRequest"
v-bind:collectionIndex="editingCollectionIndex" v-bind:collectionIndex="editingCollectionIndex"
@@ -36,11 +36,11 @@ TODO:
v-bind:request="editingRequest" v-bind:request="editingRequest"
v-bind:requestIndex="editingRequestIndex" v-bind:requestIndex="editingRequestIndex"
v-on:hide-modal="displayModalEditRequest(false)" v-on:hide-modal="displayModalEditRequest(false)"
></editRequest> />
<importExportCollections <importExportCollections
v-bind:show="showModalImportExport" v-bind:show="showModalImportExport"
v-on:hide-modal="displayModalImportExport(false)" v-on:hide-modal="displayModalImportExport(false)"
></importExportCollections> />
<div class="flex-wrap"> <div class="flex-wrap">
<div> <div>