fix user expiry when only month field set
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user