mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
[web] Lint too short variable names
This commit is contained in:
@@ -163,11 +163,11 @@ export default {
|
||||
},
|
||||
|
||||
methods: {
|
||||
move_item(e) {
|
||||
move_item(event) {
|
||||
const oldPosition =
|
||||
e.oldIndex + (this.show_only_next_items && this.current_position)
|
||||
event.oldIndex + (this.show_only_next_items && this.current_position)
|
||||
const item = this.queue_items[oldPosition]
|
||||
const newPosition = item.position + (e.newIndex - e.oldIndex)
|
||||
const newPosition = item.position + (event.newIndex - event.oldIndex)
|
||||
if (newPosition !== oldPosition) {
|
||||
webapi.queue_move(item.id, newPosition)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user