mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			520 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			520 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
<template>
 | 
						|
  <div>
 | 
						|
    <tables-library-libraries-table @showLibraryModal="setShowLibraryModal" />
 | 
						|
 | 
						|
    <modals-libraries-edit-modal v-model="showLibraryModal" :library="selectedLibrary" />
 | 
						|
  </div>
 | 
						|
</template>
 | 
						|
 | 
						|
<script>
 | 
						|
export default {
 | 
						|
  data() {
 | 
						|
    return {
 | 
						|
      showLibraryModal: false,
 | 
						|
      selectedLibrary: null
 | 
						|
    }
 | 
						|
  },
 | 
						|
  computed: {},
 | 
						|
  methods: {
 | 
						|
    setShowLibraryModal(selectedLibrary) {
 | 
						|
      this.selectedLibrary = selectedLibrary
 | 
						|
      this.showLibraryModal = true
 | 
						|
    }
 | 
						|
  },
 | 
						|
  mounted() {}
 | 
						|
}
 | 
						|
</script> |