From 5f9f100f9f76d467c91778f3dbd7fb574bb30570 Mon Sep 17 00:00:00 2001 From: gitea-action Date: Tue, 15 Oct 2024 10:00:31 +0800 Subject: [PATCH] luci-app-mihomo: sync upstream last commit: https://github.com/morytyann/OpenWrt-mihomo/commit/cbe210d71cbbcd5b1147529f8b4524993d71868f --- luci-app-mihomo/Makefile | 2 +- .../htdocs/luci-static/resources/view/mihomo/config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-mihomo/Makefile b/luci-app-mihomo/Makefile index 5ff816c4f..4ec97e119 100644 --- a/luci-app-mihomo/Makefile +++ b/luci-app-mihomo/Makefile @@ -1,6 +1,6 @@ include $(TOPDIR)/rules.mk -PKG_VERSION:=1.8.6 +PKG_VERSION:=1.8.7 LUCI_TITLE:=LuCI Support for mihomo LUCI_DEPENDS:=+luci-base +mihomo diff --git a/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js b/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js index c8b92be56..fd526f4f2 100644 --- a/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js +++ b/luci-app-mihomo/htdocs/luci-static/resources/view/mihomo/config.js @@ -517,9 +517,9 @@ return view.extend({ o.retain = true; o.depends('geox_auto_update', '1'); - s.tab('mixin_file_content', _('Mixin File Content'), _('Please go to the editor tab to edit the file for mixin')); + s.tab('mixin_file_content', _('Mixin File Content')); - o = s.taboption('mixin_file_content', form.HiddenValue, '_mixin_file_content'); + o = s.taboption('mixin_file_content', form.Flag, 'mixin_file_content', '*' + ' ' + _('Enable'), _('Please go to the editor tab to edit the file for mixin')); return m.render(); }