mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-30 02:23:47 +00:00
feat: add campaign/partner filters, delete_user action, and fix modal positioning in AdminBulkActions
Add campaign and partner filter dropdowns for user filtering, implement delete_user bulk action with delete_from_panel checkbox, fix ActionModal to use createPortal with viewport-fixed positioning and safe area insets.
This commit is contained in:
@@ -12,7 +12,8 @@ export type BulkActionType =
|
||||
| 'assign_promo_group'
|
||||
| 'grant_subscription'
|
||||
| 'set_devices'
|
||||
| 'delete_subscription';
|
||||
| 'delete_subscription'
|
||||
| 'delete_user';
|
||||
|
||||
export interface BulkActionRequest {
|
||||
action: BulkActionType;
|
||||
@@ -30,6 +31,7 @@ export interface BulkActionParams {
|
||||
balance_description?: string;
|
||||
promo_group_id?: number | null;
|
||||
device_limit?: number;
|
||||
delete_from_panel?: boolean;
|
||||
}
|
||||
|
||||
export interface BulkActionErrorItem {
|
||||
|
||||
Reference in New Issue
Block a user