Skip to content

Commit d77d457

Browse files
committed
Use BestPhotoTag
1 parent d950ead commit d77d457

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/views/identification_task/DetailView.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
<PhotoPredictionBbox v-if="slotProps.item.prediction" :prediction="slotProps.item.prediction" />
7171
<figcaption v-if="slotProps.item.uuid === identificationTask?.public_photo.uuid"
7272
class="absolute top-2 right-2 p-2 rounded-md">
73-
<Tag icon="pi pi-sparkles" severity="success" value="Best photo" />
73+
<BestPhotoTag />
7474
</figcaption>
7575
</figure>
7676
</template>
@@ -118,6 +118,7 @@ import IdentificationTaskResultTag from '@/components/identificationTasks/Identi
118118
import IdentificationTaskReviewTag from '@/components/identificationTasks/IdentificationTaskReviewTag.vue';
119119
import IdentificationTaskStatusTag from '@/components/identificationTasks/IdentificationTaskStatusTag.vue';
120120
import ObservationInfoData from '@/components/observations/ObservationInfoData.vue';
121+
import BestPhotoTag from '@/components/photos/BestPhotoTag.vue';
121122
import PhotoPredictionBbox from '@/components/predictions/PhotoPredictionBbox.vue';
122123
123124
const props = withDefaults(defineProps<{

0 commit comments

Comments
 (0)