This commit is contained in:
monoid 2022-06-20 17:37:37 +09:00
parent e7a1bf5aed
commit d5b2aeb673

View File

@ -26,7 +26,7 @@ export const GalleryInfo = (props: GalleryProp) => {
const c = await ContentAccessor.findList(props.option);
//todo : if c is undefined, retry to fetch 3 times. and show error message.
setState({ documents: c });
setLoadAll(c.length > 0);
setLoadAll(c.length == 0);
})
load();
}, [props.diff]);