mirror of https://github.com/stashapp/stash.git
Use the rescan option when rescanning files from menu (#5043)
This commit is contained in:
parent
6cebf146cb
commit
f598fa71da
|
@ -124,6 +124,7 @@ export const GalleryPage: React.FC<IProps> = ({ gallery, add }) => {
|
|||
|
||||
await mutateMetadataScan({
|
||||
paths: [path],
|
||||
rescan: true,
|
||||
});
|
||||
|
||||
Toast.success(
|
||||
|
|
|
@ -80,6 +80,7 @@ const ImagePage: React.FC<IProps> = ({ image }) => {
|
|||
|
||||
await mutateMetadataScan({
|
||||
paths: [objectPath(image)],
|
||||
rescan: true,
|
||||
});
|
||||
|
||||
Toast.success(
|
||||
|
|
|
@ -297,6 +297,7 @@ const ScenePage: React.FC<IProps> = ({
|
|||
async function onRescan() {
|
||||
await mutateMetadataScan({
|
||||
paths: [objectPath(scene)],
|
||||
rescan: true,
|
||||
});
|
||||
|
||||
Toast.success(
|
||||
|
|
Loading…
Reference in New Issue