mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[PR #5787] [MERGED] fix(script): correct hardcoded menu option numbers in x-ui.sh #5986
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5986
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5787
Author: @lxk955
Created: 7/4/2026
Status: ✅ Merged
Merged: 7/4/2026
Merged by: @MHSanaei
Base:
main← Head:fix/menu-option-numbers📝 Commits (2)
22ea9edfix(script): correct hardcoded menu option numbers in x-ui.sh4230683Update x-ui.sh📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
x-ui.sh(+3 -3)📄 Description
Summary
Fixed the incorrect option numbers in the prompt message.
The error messages referenced option 19 for SSL Certificate Management and option 16 for Logs Management, but the actual positions in show_menu are 20 and 17 respectively.
Why
Fixed the incorrect option numbers in the prompt message.
Type of change
Areas affected
How was this tested?
Manually verified: confirmed the main menu in show_menu() shows SSL Certificate Management at position 20 and Logs Management at
position 17, matching the updated messages. No automated tests cover the shell script.
Screenshots / recordings
N/A
Breaking changes
None.
Checklist
go build ./...and the test suite pass locally.npm run lint,npm run typecheck, andnpm run buildpass.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.