mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
fix user expiry when only month field set
This commit is contained in:
parent
d701c5f27d
commit
3dc0df0ac2
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user