From 20d00d31a145cfdefa2c1cdc7d5c01351bf59d7c Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Wed, 6 Dec 2023 14:36:37 +0100 Subject: [PATCH] fix small design problem --- web/html/xui/xray_rule_modal.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/web/html/xui/xray_rule_modal.html b/web/html/xui/xray_rule_modal.html index 63267055..6c047f8f 100644 --- a/web/html/xui/xray_rule_modal.html +++ b/web/html/xui/xray_rule_modal.html @@ -3,9 +3,9 @@ :confirm-loading="ruleModal.confirmLoading" :closable="true" :mask-closable="false" :ok-text="ruleModal.okText" cancel-text='{{ i18n "close" }}' :class="themeSwitcher.currentTheme"> - - - +
Domain Matcher
+ +
Domain Matcher @@ -158,6 +158,7 @@ isEdit: false, confirm: null, rule: { + type: "field", domainMatcher: "", domain: "", ip: "", @@ -235,6 +236,7 @@ value = ruleModal.rule; rule = {}; newRule = {}; + rule.type = "field"; rule.domainMatcher = value.domainMatcher; rule.domain = value.domain.length>0 ? value.domain.split(',') : []; rule.ip = value.ip.length>0 ? value.ip.split(',') : [];