Fix load of sessions by user in MySessionList page

pull/5364/head
Angel Fernando Quiroz Campos 8 months ago
parent fb02a112da
commit 1bfa492866
  1. 5
      assets/vue/views/user/sessions/session.js

@ -7,10 +7,9 @@ export function useSession(user, start, end, query) {
let sessions = ref(null)
let isLoading = ref(false)
if (user.value) {
let userId = user.value.id
if (user) {
let variables = {
user: "/api/users/" + userId,
user: user["@id"],
}
variables = includeStartDateIfExist(variables, start)

Loading…
Cancel
Save