mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-22 02:28:33 +02:00
Icons for book details menu
This patch adds icons similar to those used in other app menus to the book details menu.
This commit is contained in:
parent
50a53ec0d1
commit
9866a787bd
1 changed files with 12 additions and 6 deletions
|
@ -368,21 +368,24 @@ export default {
|
||||||
if (!this.isIos) {
|
if (!this.isIos) {
|
||||||
items.push({
|
items.push({
|
||||||
text: 'History',
|
text: 'History',
|
||||||
value: 'history'
|
value: 'history',
|
||||||
|
icon: 'history'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.userIsFinished) {
|
if (!this.userIsFinished) {
|
||||||
items.push({
|
items.push({
|
||||||
text: 'Mark as Finished',
|
text: 'Mark as Finished',
|
||||||
value: 'markFinished'
|
value: 'markFinished',
|
||||||
|
icon: 'beenhere'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.progressPercent > 0) {
|
if (this.progressPercent > 0) {
|
||||||
items.push({
|
items.push({
|
||||||
text: 'Discard Progress',
|
text: 'Discard Progress',
|
||||||
value: 'discardProgress'
|
value: 'discardProgress',
|
||||||
|
icon: 'backspace'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -390,20 +393,23 @@ export default {
|
||||||
if (this.localLibraryItemId) {
|
if (this.localLibraryItemId) {
|
||||||
items.push({
|
items.push({
|
||||||
text: 'Manage Local Files',
|
text: 'Manage Local Files',
|
||||||
value: 'manageLocal'
|
value: 'manageLocal',
|
||||||
|
icon: 'folder'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.isPodcast && this.serverLibraryItemId) {
|
if (!this.isPodcast && this.serverLibraryItemId) {
|
||||||
items.push({
|
items.push({
|
||||||
text: 'Add to Playlist',
|
text: 'Add to Playlist',
|
||||||
value: 'playlist'
|
value: 'playlist',
|
||||||
|
icon: 'playlist_add'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
items.push({
|
items.push({
|
||||||
text: 'More Info',
|
text: 'More Info',
|
||||||
value: 'details'
|
value: 'details',
|
||||||
|
icon: 'info'
|
||||||
})
|
})
|
||||||
|
|
||||||
return items
|
return items
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue