if fetch_content is false, set the state to content_not_fetched and use preview content

This commit is contained in:
Hongbo Wu
2023-12-18 19:08:16 +08:00
parent 6f1ef075c6
commit b1aca117f4

View File

@ -955,7 +955,7 @@ export const moveToFolderResolver = authorized<
)
// if the content is not fetched yet, create a page save request
if (!item.readableContent) {
if (item.state === LibraryItemState.ContentNotFetched) {
try {
await createPageSaveRequest({
userId: uid,