mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
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#5668
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/4340
Author: @abdalrahmanx9
Created: 5/13/2026
Status: ✅ Merged
Merged: 5/13/2026
Merged by: @MHSanaei
Base:
main← Head:fix/reality-random-button📝 Commits (1)
ae3dc62fix: reality random target/sni buttons not working (#4337)📊 Changes
3 files changed (+4 additions, -9 deletions)
View changed files
📝
frontend/eslint.config.js(+0 -3)📝
frontend/src/models/inbound.js(+2 -3)📝
frontend/src/pages/inbounds/InboundFormModal.vue(+2 -3)📄 Description
Summary
The Reality target/SNI random buttons were non-functional because
getRandomRealityTarget()was accessed viawindow.*but never injected as a global — the ES module was never loaded as a script tag, so the guard clauses silently returned without populating the fields.Refs #4337
Changes
getRandomRealityTargetdirectly from its module instead of relying on the non-existentwindow.getRandomRealityTargetglobal.typeofchecks) that swallowed the error.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.