Skip to content

Commit

Permalink
Remove overview above metrics and update detail on info
Browse files Browse the repository at this point in the history
  • Loading branch information
RatreeOchn committed May 2, 2024
1 parent 693c5e1 commit fddbebd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<!-- eslint-disable vue/no-unused-vars -->
<!-- eslint-disable vue/require-v-for-key -->
<template>
<h2 class="mb-6">
Overview
</h2>
<div
v-if="loading || metrics == null"
class="flex gap-4 columns-2 md:columns-4"
Expand Down
2 changes: 1 addition & 1 deletion apps/website/src/projects/dashboard-page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const { isLoading: isLoadingPmTemplateCount, data: pmTemplateCount } = usePmTemp
const stats = computed(() => [
{ value: 'site', title: 'Sites created', description: 'Total sites created', count: siteCount.value, isLoading: isLoadingSiteCount.value, label: 'Create new sites', link: `${BASE_URL}/project/${selectedProject.value?.slug}/audiodata/sites` },
{ value: 'recording', title: 'Recordings uploaded', description: 'Total number audio files uploaded', count: recordingCount.value, isLoading: isLoadingRecordingCount.value, label: 'Upload new recordings', link: `${BASE_URL}/project/${selectedProject.value?.slug}/audiodata/uploads/` },
{ value: 'recording', title: 'Recordings uploaded', description: 'Total number of audio files uploaded', count: recordingCount.value, isLoading: isLoadingRecordingCount.value, label: 'Upload new recordings', link: `${BASE_URL}/project/${selectedProject.value?.slug}/audiodata/uploads/` },
{ value: 'playlist', title: 'Playlists created', description: 'Number of playlists created', count: playlistCount.value, isLoading: isLoadingPlaylistCount.value, label: 'Create new playlist', link: `${BASE_URL}/project/${selectedProject.value?.slug}/audiodata/playlists` },
{ value: 'species', title: 'Species added', description: 'Total species added to the project', count: speciesCount.value, isLoading: isLoadingSpeciesCount.value, label: 'Add new species', link: `${BASE_URL}/project/${selectedProject.value?.slug}/audiodata/species` }
])
Expand Down

0 comments on commit fddbebd

Please sign in to comment.