mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-11-03 19:07:00 -05:00 
			
		
		
		
	update library and your stat UIs to match
This commit is contained in:
		
							parent
							
								
									2795f657b5
								
							
						
					
					
						commit
						d0637c1e3d
					
				@ -1,10 +1,9 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <div>
 | 
			
		||||
    <p class="text-xl">Stats for library {{ currentLibraryName }}</p>
 | 
			
		||||
 | 
			
		||||
  <div class="bg-bg rounded-md shadow-lg border border-white border-opacity-5 p-4 mb-8">
 | 
			
		||||
    <h1 class="text-xl">Stats for library {{ currentLibraryName }}</h1>
 | 
			
		||||
    <stats-preview-icons v-if="totalItems" :library-stats="libraryStats" />
 | 
			
		||||
 | 
			
		||||
    <div class="flex md:flex-row flex-wrap justify-between flex-col mt-12">
 | 
			
		||||
    <div class="flex md:flex-row flex-wrap justify-between flex-col mt-8">
 | 
			
		||||
      <div class="w-80 my-6 mx-auto">
 | 
			
		||||
        <h1 class="text-2xl mb-4 font-book">Top 5 Genres</h1>
 | 
			
		||||
        <p v-if="!top5Genres.length">No Genres</p>
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,7 @@
 | 
			
		||||
<template>
 | 
			
		||||
  <div>
 | 
			
		||||
  <div class="bg-bg rounded-md shadow-lg border border-white border-opacity-5 p-4 mb-8">
 | 
			
		||||
    <h1 class="text-xl">Stats for {{ username }}</h1>
 | 
			
		||||
 | 
			
		||||
    <div class="flex justify-center">
 | 
			
		||||
      <div class="flex p-2">
 | 
			
		||||
        <svg class="hidden sm:block h-14 w-14 lg:h-18 lg:w-18" viewBox="0 0 24 24">
 | 
			
		||||
@ -84,6 +86,9 @@ export default {
 | 
			
		||||
    user() {
 | 
			
		||||
      return this.$store.state.user.user
 | 
			
		||||
    },
 | 
			
		||||
    username() {
 | 
			
		||||
      return this.user.username
 | 
			
		||||
    },
 | 
			
		||||
    currentLibraryId() {
 | 
			
		||||
      return this.$store.state.libraries.currentLibraryId
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user