From 34bbd86f7786e284d4137bcdbdea424d0ec82f0e Mon Sep 17 00:00:00 2001 From: BrettonYe Date: Tue, 10 Sep 2024 22:35:58 +0800 Subject: [PATCH] Fixed System config blade JavaScript bug --- .env.example | 1 - readme.md | 3 +-- resources/views/admin/config/system.blade.php | 9 ++++----- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.env.example b/.env.example index 0572bc1e..9ebf75bb 100644 --- a/.env.example +++ b/.env.example @@ -2,7 +2,6 @@ APP_NAME=ProxyPanel APP_ENV=local APP_KEY= APP_DEBUG= -APP_DEMO= APP_URL=https://proxypanel.ddo.jp APP_TIMEZONE=Asia/Shanghai APP_LOCALE=zh_CN diff --git a/readme.md b/readme.md index 404b3aee..201b106c 100644 --- a/readme.md +++ b/readme.md @@ -73,8 +73,7 @@ This project is based on Laravel 10 Framework. Therefore, it requires all Larave ## Funding Buy me a Coffee ☕? -- **PayPal:** [paypal.me/brettonye](https://www.paypal.com/paypalme/brettonye) -- **USDT-TRC20:** TFMxq91oPCnoxDXBiEgRzab5N6GFnAbTT5 +- **USDT-TRC20:** TJbd8dyryPJ5aPJkArG1Lwr28g9g2FLd29 --- diff --git a/resources/views/admin/config/system.blade.php b/resources/views/admin/config/system.blade.php index d9ce284f..9dd84735 100644 --- a/resources/views/admin/config/system.blade.php +++ b/resources/views/admin/config/system.blade.php @@ -618,8 +618,8 @@ node_daily_notification: {!! $node_daily_notification ?: 'null' !!}, node_offline_notification: {!! $node_offline_notification ?: 'null' !!}, node_renewal_notification: {!! $node_renewal_notification ?: 'null' !!}, - password_reset_notification: {!! $password_reset_notification ?: 'null' !!}, - payment_confirm_notification: {!! $payment_confirm_notification ?: 'null' !!}, + password_reset_notification: '{{ $password_reset_notification }}', + payment_confirm_notification: '{{ $payment_confirm_notification }}', payment_received_notification: {!! $payment_received_notification ?: 'null' !!}, ticket_closed_notification: {!! $ticket_closed_notification ?: 'null' !!}, ticket_created_notification: {!! $ticket_created_notification ?: 'null' !!}, @@ -655,9 +655,8 @@ parentId.selectpicker('refresh'); }; ['account_expire_notification', 'data_anomaly_notification', 'data_exhaust_notification', 'node_blocked_notification', - 'node_daily_notification', 'node_offline_notification', 'node_renewal_notification', 'password_reset_notification', - 'payment_confirm_notification', 'payment_received_notification', 'ticket_closed_notification', 'ticket_created_notification', - 'ticket_replied_notification' + 'node_daily_notification', 'node_offline_notification', 'node_renewal_notification', 'payment_received_notification', + 'ticket_closed_notification', 'ticket_created_notification', 'ticket_replied_notification' ].forEach(disableChannel); @if (!$captcha)