mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-31 02:17:01 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			663 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			663 B
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <div>
 | |
|     <app-settings-content :header-text="$strings.HeaderLibraries" show-add-button @clicked="setShowLibraryModal">
 | |
|       <tables-library-libraries-table @showLibraryModal="setShowLibraryModal" />
 | |
|     </app-settings-content>
 | |
|     <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> |