mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Add image-count sorting, and image deletion on gallery deletion (#853)
This commit is contained in:
@@ -76,11 +76,13 @@ export const DeleteGalleriesDialog: React.FC<IDeleteGalleryDialogProps> = (
|
||||
</p>
|
||||
<Form>
|
||||
<Form.Check
|
||||
id="delete-file"
|
||||
checked={deleteFile}
|
||||
label="Delete zip file (if applicable)"
|
||||
label="Delete zip file and any images not attached to any other gallery."
|
||||
onChange={() => setDeleteFile(!deleteFile)}
|
||||
/>
|
||||
<Form.Check
|
||||
id="delete-generated"
|
||||
checked={deleteGenerated}
|
||||
label="Delete generated supporting files"
|
||||
onChange={() => setDeleteGenerated(!deleteGenerated)}
|
||||
|
||||
@@ -56,6 +56,7 @@ const ModalComponent: React.FC<IModal> = ({
|
||||
disabled={isRunning || disabled}
|
||||
variant={accept?.variant ?? "primary"}
|
||||
onClick={accept?.onClick}
|
||||
className="ml-2"
|
||||
>
|
||||
{isRunning ? (
|
||||
<Spinner animation="border" role="status" size="sm" />
|
||||
|
||||
Reference in New Issue
Block a user