2021-10-23 03:08:02 +02:00
|
|
|
<template>
|
|
|
|
<div>
|
2022-05-15 00:23:22 +02:00
|
|
|
<tables-library-libraries-table @showLibraryModal="setShowLibraryModal" />
|
|
|
|
|
|
|
|
<modals-libraries-edit-modal v-model="showLibraryModal" :library="selectedLibrary" />
|
2021-10-23 03:08:02 +02:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
2022-05-15 00:23:22 +02:00
|
|
|
return {
|
|
|
|
showLibraryModal: false,
|
|
|
|
selectedLibrary: null
|
|
|
|
}
|
2021-10-23 03:08:02 +02:00
|
|
|
},
|
|
|
|
computed: {},
|
2022-05-15 00:23:22 +02:00
|
|
|
methods: {
|
|
|
|
setShowLibraryModal(selectedLibrary) {
|
|
|
|
this.selectedLibrary = selectedLibrary
|
|
|
|
this.showLibraryModal = true
|
|
|
|
}
|
|
|
|
},
|
2021-10-23 03:08:02 +02:00
|
|
|
mounted() {}
|
|
|
|
}
|
|
|
|
</script>
|