mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-23 10:39:40 +00:00
Fix users latest session computed property
This commit is contained in:
parent
eb295453fc
commit
3ffc481a54
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ export default {
|
||||||
return this.listeningStats.today || 0
|
return this.listeningStats.today || 0
|
||||||
},
|
},
|
||||||
latestSession() {
|
latestSession() {
|
||||||
if (!this.listeningSessions.sessions.length) return null
|
if (!this.listeningSessions.sessions || !this.listeningSessions.sessions.length) return null
|
||||||
return this.listeningSessions.sessions[0]
|
return this.listeningSessions.sessions[0]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue