mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-29 14:47:21 +02:00
Fix:Save track order button hidden when player is open #380
This commit is contained in:
@@ -90,7 +90,7 @@
|
|||||||
<p class="text-lg text-center px-8">{{ failed ? 'Failed to get local library item ' + localLibraryItemId : 'Loading..' }}</p>
|
<p class="text-lg text-center px-8">{{ failed ? 'Failed to get local library item ' + localLibraryItemId : 'Loading..' }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="orderChanged" class="fixed bottom-0 left-0 w-full py-4 px-4 bg-bg box-shadow-book flex items-center">
|
<div v-if="orderChanged" class="fixed left-0 w-full py-4 px-4 bg-bg box-shadow-book flex items-center" :style="{ bottom: playerLibraryItemId ? '100px' : '0px' }">
|
||||||
<div class="flex-grow" />
|
<div class="flex-grow" />
|
||||||
<ui-btn small color="success" @click="saveTrackOrder">Save Order</ui-btn>
|
<ui-btn small color="success" @click="saveTrackOrder">Save Order</ui-btn>
|
||||||
</div>
|
</div>
|
||||||
@@ -138,6 +138,9 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
playerLibraryItemId() {
|
||||||
|
return this.$store.state.playerLibraryItemId
|
||||||
|
},
|
||||||
isIos() {
|
isIos() {
|
||||||
return this.$platform === 'ios'
|
return this.$platform === 'ios'
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user