Skip to content

Commit

Permalink
pageSize default to 50
Browse files Browse the repository at this point in the history
  • Loading branch information
MHSanaei committed Jul 1, 2024
1 parent a9ec24f commit f979263
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/assets/js/model/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class AllSetting {
this.webKeyFile = "";
this.webBasePath = "/";
this.sessionMaxAge = "";
this.pageSize = 0;
this.pageSize = 50;
this.expireDiff = "";
this.trafficDiff = "";
this.remarkModel = "-ieo";
Expand Down
2 changes: 1 addition & 1 deletion web/html/xui/inbounds.html
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,7 @@
tgBotEnable: false,
showAlert: false,
ipLimitEnable: false,
pageSize: 0,
pageSize: 50,
isMobile: window.innerWidth <= 768,
},
methods: {
Expand Down
2 changes: 1 addition & 1 deletion web/service/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var defaultValueMap = map[string]string{
"secret": random.Seq(32),
"webBasePath": "/",
"sessionMaxAge": "0",
"pageSize": "0",
"pageSize": "50",
"expireDiff": "0",
"trafficDiff": "0",
"remarkModel": "-ieo",
Expand Down

0 comments on commit f979263

Please sign in to comment.