[web] Reorder methods and attributes

This commit is contained in:
Alain Nussbaumer
2024-04-26 23:09:45 +02:00
parent ea947df50a
commit de847a6711
5 changed files with 26 additions and 26 deletions

View File

@@ -125,7 +125,7 @@ export default {
webapi.player_play_expression(this.play_expression, false)
},
transform(path) {
return { path, name: path.slice(path.lastIndexOf('/') + 1) }
return { name: path.slice(path.lastIndexOf('/') + 1), path }
}
}
}

View File

@@ -76,8 +76,8 @@ export default {
data() {
return {
cursor: mdiCancel,
INTERVAL,
cursor: mdiCancel,
interval_id: 0,
is_dragged: false,
selected_item: {},