Merge pull request #932 from pgalhardo/develop
Album view: hide tab controls when only one tab exists
This commit is contained in:
commit
c9e2d1b3a6
1 changed files with 5 additions and 1 deletions
|
@ -146,7 +146,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="playlist-body scrollbody">
|
<div class="playlist-body scrollbody">
|
||||||
|
|
||||||
<b-tabs pills class="track-pills pilldim" align="center" content-class="mt-3">
|
<b-tabs pills class="track-pills pilldim" align="center" content-class="mt-3" :nav-wrapper-class="navClass(data)">
|
||||||
<b-tab :title="$root.getLz('term.tracks')">
|
<b-tab :title="$root.getLz('term.tracks')">
|
||||||
<div @wheel="minClass(true)" @scroll="minClass(true)">
|
<div @wheel="minClass(true)" @scroll="minClass(true)">
|
||||||
<div class="">
|
<div class="">
|
||||||
|
@ -713,6 +713,10 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
},
|
||||||
|
navClass(data) {
|
||||||
|
if (data && typeof data.views != "undefined") return "";
|
||||||
|
return "d-none";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue