mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 23:33:13 +09:00
Add bulk user actions (Import/Export/Restore) (#741)
* Add "Bulk Actions" modal to users page * Add control logic without validation * Add restore and better permission check * Add controller logic and automatic backup * Add CTL commands for bulk actions * Add tests for bulk actions * Improve description on permissions
This commit is contained in:
1 parent
1d5040dc0c
commit
0055f28f45
8 files changed
+1044
-5
No files matched your search
@@ -24,6 +24,8 @@ function isActiveDropzone(element: HTMLElement | null): boolean {
|
||||
while (element && depth < checkDepth) {
|
||||
if (element.classList.contains("dropzone")) {
|
||||
return element.classList.contains("enabled");
|
||||
} else if (element.classList.contains("ant-upload-drag")) {
|
||||
return !element.classList.contains("disabled");
|
||||
}
|
||||
element = element.parentElement;
|
||||
depth += 1;
|
||||
|
||||
Reference in new issue
Block a user