fix(front): admin detail pages
This commit is contained in:
		
							parent
							
								
									fce8deac11
								
							
						
					
					
						commit
						3996747802
					
				| 
						 | 
					@ -18,7 +18,7 @@ withDefaults(defineProps<Props>(), {
 | 
				
			||||||
    class="tooltip"
 | 
					    class="tooltip"
 | 
				
			||||||
  >
 | 
					  >
 | 
				
			||||||
    <slot>
 | 
					    <slot>
 | 
				
			||||||
      <i class="question circle icon" />
 | 
					      <i class="bi bi-question-circle" />
 | 
				
			||||||
    </slot>
 | 
					    </slot>
 | 
				
			||||||
  </component>
 | 
					  </component>
 | 
				
			||||||
  <slot v-else />
 | 
					  <slot v-else />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -171,7 +171,6 @@ const getQuery = (field: string, value: string) => `${field}:"${value}"`
 | 
				
			||||||
      <Popover v-model="open">
 | 
					      <Popover v-model="open">
 | 
				
			||||||
        <template #default="{ toggleOpen }">
 | 
					        <template #default="{ toggleOpen }">
 | 
				
			||||||
          <OptionsButton
 | 
					          <OptionsButton
 | 
				
			||||||
            :title="labels.more"
 | 
					 | 
				
			||||||
            is-square-small
 | 
					            is-square-small
 | 
				
			||||||
            @click="toggleOpen()"
 | 
					            @click="toggleOpen()"
 | 
				
			||||||
          />
 | 
					          />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -183,7 +183,6 @@ const open = ref(false)
 | 
				
			||||||
      <Popover v-model="open">
 | 
					      <Popover v-model="open">
 | 
				
			||||||
        <template #default="{ toggleOpen }">
 | 
					        <template #default="{ toggleOpen }">
 | 
				
			||||||
          <OptionsButton
 | 
					          <OptionsButton
 | 
				
			||||||
            :title="labels.more"
 | 
					 | 
				
			||||||
            is-square-small
 | 
					            is-square-small
 | 
				
			||||||
            @click="toggleOpen()"
 | 
					            @click="toggleOpen()"
 | 
				
			||||||
          />
 | 
					          />
 | 
				
			||||||
| 
						 | 
					@ -307,10 +306,16 @@ const open = ref(false)
 | 
				
			||||||
      stack
 | 
					      stack
 | 
				
			||||||
      style="flex: 1; gap: 0;"
 | 
					      style="flex: 1; gap: 0;"
 | 
				
			||||||
    >
 | 
					    >
 | 
				
			||||||
 | 
					      <!-- TODO: Fix tooltip and replace headings with headers. -->
 | 
				
			||||||
      <Heading
 | 
					      <Heading
 | 
				
			||||||
        :h3="t('views.admin.library.ArtistDetail.header.activity')"
 | 
					        :h3="t('views.admin.library.ArtistDetail.header.activity')"
 | 
				
			||||||
        class="category"
 | 
					        class="category"
 | 
				
			||||||
      />
 | 
					      >
 | 
				
			||||||
 | 
					        <template #action>
 | 
				
			||||||
 | 
					          <tooltip :content="labels.statsWarning" />
 | 
				
			||||||
 | 
					        </template>
 | 
				
			||||||
 | 
					      </Heading>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <Layout
 | 
					      <Layout
 | 
				
			||||||
        flex
 | 
					        flex
 | 
				
			||||||
        class="details"
 | 
					        class="details"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,7 +13,6 @@ import Layout from '~/components/ui/Layout.vue'
 | 
				
			||||||
import Spacer from '~/components/ui/Spacer.vue'
 | 
					import Spacer from '~/components/ui/Spacer.vue'
 | 
				
			||||||
import HumanDate from '~/components/common/HumanDate.vue'
 | 
					import HumanDate from '~/components/common/HumanDate.vue'
 | 
				
			||||||
import Link from '~/components/ui/Link.vue'
 | 
					import Link from '~/components/ui/Link.vue'
 | 
				
			||||||
import Pill from '~/components/ui/Pill.vue'
 | 
					 | 
				
			||||||
import Heading from '~/components/ui/Heading.vue'
 | 
					import Heading from '~/components/ui/Heading.vue'
 | 
				
			||||||
import OptionsButton from '~/components/ui/button/Options.vue'
 | 
					import OptionsButton from '~/components/ui/button/Options.vue'
 | 
				
			||||||
import Popover from '~/components/ui/Popover.vue'
 | 
					import Popover from '~/components/ui/Popover.vue'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -181,7 +181,6 @@ const getQuery = (field: string, value: string) => `${field}:"${value}"`
 | 
				
			||||||
      <Popover v-model="open">
 | 
					      <Popover v-model="open">
 | 
				
			||||||
        <template #default="{ toggleOpen }">
 | 
					        <template #default="{ toggleOpen }">
 | 
				
			||||||
          <OptionsButton
 | 
					          <OptionsButton
 | 
				
			||||||
            :title="labels.more"
 | 
					 | 
				
			||||||
            is-square-small
 | 
					            is-square-small
 | 
				
			||||||
            @click="toggleOpen()"
 | 
					            @click="toggleOpen()"
 | 
				
			||||||
          />
 | 
					          />
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue