Selaa lähdekoodia

Fixed System config blade JavaScript bug

BrettonYe 1 vuosi sitten
vanhempi
sitoutus
34bbd86f77
3 muutettua tiedostoa jossa 5 lisäystä ja 8 poistoa
  1. 0 1
      .env.example
  2. 1 2
      readme.md
  3. 4 5
      resources/views/admin/config/system.blade.php

+ 0 - 1
.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

+ 1 - 2
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
 
 ---
 

+ 4 - 5
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)