mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
feat: bulk delete subscription protection for active paid subs
Add force_delete_active_paid guard to prevent accidental deletion of active paid subscriptions. Shows warning with count and requires explicit checkbox confirmation. Also fixes allVisibleSubscriptionIds to use filteredUsers and getFilteredSubs to respect trialOnly filter on subscription sub-rows.
This commit is contained in:
@@ -2050,7 +2050,9 @@
|
||||
},
|
||||
"deleteSubscription": {
|
||||
"warning": "Selected subscriptions will be permanently deleted from the bot and RemnaWave panel!",
|
||||
"hint": "Users will lose VPN access for deleted subscriptions. This action cannot be undone."
|
||||
"hint": "Users will lose VPN access for deleted subscriptions. This action cannot be undone.",
|
||||
"activePaidWarning": "{{count}} of {{total}} selected subscriptions are active paid",
|
||||
"forceDeleteConfirm": "I confirm deletion of active paid subscriptions"
|
||||
},
|
||||
"deleteUser": {
|
||||
"warning": "Selected users will be permanently deleted from the bot! All their subscriptions, balance, and data will be lost!",
|
||||
|
||||
Reference in New Issue
Block a user