We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5564317 commit 7f1132fCopy full SHA for 7f1132f
src/player/Player.vue
@@ -68,9 +68,11 @@
68
:value="volume" @input="setVolume"
69
/>
70
</b-popover>
71
- <b-button title="ReplayGain"
72
- variant="link" class="m-0"
73
- @click="toggleReplayGain">
+ <b-button
+ v-if="track && track.replayGain"
+ title="ReplayGain"
74
+ variant="link" class="m-0"
75
+ @click="toggleReplayGain">
76
<IconReplayGain v-if="replayGainMode === ReplayGainMode.None" />
77
<IconReplayGainTrack v-else-if="replayGainMode === ReplayGainMode.Track" />
78
<IconReplayGainAlbum v-else-if="replayGainMode === ReplayGainMode.Album" />
0 commit comments