mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 20:34:37 +03:00
feat(onDelete): Redirect to previous page to preserve filters (#5818)
This commit is contained in:
@@ -375,10 +375,10 @@ const StudioPage: React.FC<IProps> = ({ studio, tabKey }) => {
|
||||
await deleteStudio();
|
||||
} catch (e) {
|
||||
Toast.error(e);
|
||||
return;
|
||||
}
|
||||
|
||||
// redirect to studios page
|
||||
history.push(`/studios`);
|
||||
history.goBack();
|
||||
}
|
||||
|
||||
function renderDeleteAlert() {
|
||||
|
||||
Reference in New Issue
Block a user