mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
Fix expiry date for invites
This commit is contained in:
parent
800884302d
commit
f3874fdc72
@ -48,6 +48,7 @@ class LogoutView extends connect(store)(LitElement) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async confirm(e) {
|
async confirm(e) {
|
||||||
|
localStorage.removeItem("symKeysCurrent")
|
||||||
store.dispatch(doLogout())
|
store.dispatch(doLogout())
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
}
|
}
|
||||||
|
@ -801,7 +801,7 @@ class GroupManagement extends LitElement {
|
|||||||
const currentTime = Date.now()
|
const currentTime = Date.now()
|
||||||
|
|
||||||
this.myOpenInvites.forEach(a => {
|
this.myOpenInvites.forEach(a => {
|
||||||
let expiry = a.timestamp + a.timeToLive
|
let expiry = a.timestamp + (a.timeToLive * 1000)
|
||||||
|
|
||||||
if (expiry > currentTime || a.timeToLive === 0) {
|
if (expiry > currentTime || a.timeToLive === 0) {
|
||||||
let invitedGroupInfoUrl = `${nodeUrl}/groups/${a.groupId}`
|
let invitedGroupInfoUrl = `${nodeUrl}/groups/${a.groupId}`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user