diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html
index fe14f5a2..e7f36cce 100644
--- a/web/html/xui/client_bulk_modal.html
+++ b/web/html/xui/client_bulk_modal.html
@@ -189,7 +189,7 @@
clientsBulkModal.visible = false;
clientsBulkModal.loading(false);
},
- loading(loading) {
+ loading(loading=true) {
clientsBulkModal.confirmLoading = loading;
},
};
diff --git a/web/html/xui/client_modal.html b/web/html/xui/client_modal.html
index 06b2e128..e910aa20 100644
--- a/web/html/xui/client_modal.html
+++ b/web/html/xui/client_modal.html
@@ -70,7 +70,7 @@
clientModal.visible = false;
clientModal.loading(false);
},
- loading(loading) {
+ loading(loading=true) {
clientModal.confirmLoading = loading;
},
};
diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html
index 70bb65f2..e1a271cc 100644
--- a/web/html/xui/inbound_modal.html
+++ b/web/html/xui/inbound_modal.html
@@ -39,7 +39,7 @@
inModal.visible = false;
inModal.loading(false);
},
- loading(loading) {
+ loading(loading=true) {
inModal.confirmLoading = loading;
},
};
diff --git a/web/html/xui/warp_modal.html b/web/html/xui/warp_modal.html
index 90d8898b..6b9302e1 100644
--- a/web/html/xui/warp_modal.html
+++ b/web/html/xui/warp_modal.html
@@ -107,7 +107,7 @@
this.visible = false;
this.loading(false);
},
- loading(loading) {
+ loading(loading=true) {
this.confirmLoading = loading;
},
async getData(){
diff --git a/web/html/xui/xray_balancer_modal.html b/web/html/xui/xray_balancer_modal.html
index 86573bb7..627aecf6 100644
--- a/web/html/xui/xray_balancer_modal.html
+++ b/web/html/xui/xray_balancer_modal.html
@@ -80,7 +80,7 @@
balancerModal.visible = false;
balancerModal.loading(false);
},
- loading(loading) {
+ loading(loading=true) {
balancerModal.confirmLoading = loading;
},
check() {
diff --git a/web/html/xui/xray_outbound_modal.html b/web/html/xui/xray_outbound_modal.html
index 507ffcac..715c2597 100644
--- a/web/html/xui/xray_outbound_modal.html
+++ b/web/html/xui/xray_outbound_modal.html
@@ -42,7 +42,7 @@
outModal.visible = false;
outModal.loading(false);
},
- loading(loading) {
+ loading(loading=true) {
outModal.confirmLoading = loading;
},
check(){
diff --git a/web/html/xui/xray_reverse_modal.html b/web/html/xui/xray_reverse_modal.html
index 14c5a765..12ee2801 100644
--- a/web/html/xui/xray_reverse_modal.html
+++ b/web/html/xui/xray_reverse_modal.html
@@ -119,7 +119,7 @@
reverseModal.visible = false;
reverseModal.loading(false);
},
- loading(loading) {
+ loading(loading=true) {
reverseModal.confirmLoading = loading;
},
};
diff --git a/web/html/xui/xray_rule_modal.html b/web/html/xui/xray_rule_modal.html
index 71f01a65..6f91bb51 100644
--- a/web/html/xui/xray_rule_modal.html
+++ b/web/html/xui/xray_rule_modal.html
@@ -210,7 +210,7 @@
ruleModal.visible = false;
ruleModal.loading(false);
},
- loading(loading) {
+ loading(loading=true) {
ruleModal.confirmLoading = loading;
},
getResult() {