1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-23 01:20:11 +00:00

fix user expiry when only month field set

This commit is contained in:
Harvey Tindall 2021-04-09 13:35:46 +01:00
parent d701c5f27d
commit 3dc0df0ac2
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2

View File

@ -716,7 +716,7 @@ export class createInvite {
create = () => { create = () => {
toggleLoader(this._createButton); toggleLoader(this._createButton);
let userExpiry = this.userExpiry; let userExpiry = this.userExpiry;
if (this.userDays == 0 && this.userHours == 0 && this.userMinutes == 0) { if (this.userMonths == 0 && this.userDays == 0 && this.userHours == 0 && this.userMinutes == 0) {
userExpiry = false; userExpiry = false;
} }
let send = { let send = {