artist page will no longer display latest release if it does not apply, removed "Top" from search until properly implemented

This commit is contained in:
booploops 2021-12-07 16:18:37 -08:00
parent 79fe19518c
commit 7e4e086792
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@
<div class="row well"> <div class="row well">
<div class="col"> <div class="col">
<div class="row"> <div class="row">
<div class="col-auto" v-if="artistPage.data.views['latest-release']"> <div class="col-auto" v-if="artistPage.data.views['latest-release'].data.length != 0">
<h3>Latest Release</h3> <h3>Latest Release</h3>
<div style="width: auto;margin: 0 auto;"> <div style="width: auto;margin: 0 auto;">
<mediaitem-square-sp v-for="song in artistPage.data.views['latest-release'].data" <mediaitem-square-sp v-for="song in artistPage.data.views['latest-release'].data"

View file

@ -25,7 +25,7 @@
<template v-if="search.results['meta']"> <template v-if="search.results['meta']">
<template <template
v-for="section in search.results.meta.results.order" v-if="section != 'song'"> v-for="section in search.results.meta.results.order" v-if="section != 'song' && section != 'top'">
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<h3>{{ app.friendlyTypes(section) }}</h3> <h3>{{ app.friendlyTypes(section) }}</h3>