fix user expiry when only month field set

pull/97/head
Harvey Tindall 4 years ago
parent d701c5f27d
commit 3dc0df0ac2
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -716,7 +716,7 @@ export class createInvite {
create = () => {
toggleLoader(this._createButton);
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;
}
let send = {

Loading…
Cancel
Save