feat: hide eps when no eps

master
kunkka 4 years ago
parent 072288ae1e
commit dae7dff894

@ -17,8 +17,8 @@
{{ $t("play") }} {{ $t("play") }}
</ButtonTwoTone> </ButtonTwoTone>
<ButtonTwoTone @click.native="followArtist" color="grey"> <ButtonTwoTone @click.native="followArtist" color="grey">
<span v-if="artist.followed">Following</span> <span v-if="artist.followed">{{ $t("artist.following") }}</span>
<span v-else>Follow</span> <span v-else>{{ $t("artist.follow") }}</span>
</ButtonTwoTone> </ButtonTwoTone>
</div> </div>
</div> </div>
@ -84,7 +84,7 @@
<div class="section-title">MVs</div> <div class="section-title">MVs</div>
<MvRow :mvs="mvs" subtitle="publishTime" /> <MvRow :mvs="mvs" subtitle="publishTime" />
</div> </div>
<div class="eps"> <div class="eps" v-if="eps.length !== 0">
<div class="section-title">{{ $t("artist.EPsSingles") }}</div> <div class="section-title">{{ $t("artist.EPsSingles") }}</div>
<CoverRow <CoverRow
:type="'album'" :type="'album'"
@ -305,7 +305,6 @@ export default {
font-weight: 600; font-weight: 600;
&:hover { &:hover {
opacity: 1; opacity: 1;
// background: var(--color-primary-bg);
} }
} }
} }

Loading…
Cancel
Save