Only attempt to force sync content if it needs creation before reading

This commit is contained in:
Jackson Harper 2022-06-06 12:35:44 -07:00
parent 3136705a75
commit 8d271daf38

View file

@ -335,7 +335,7 @@ extension DataService {
print("SERVER SYNC STATUS FOR LOADING ITEM", serverSyncStatus)
if let id = id, let url = url, let title = title,
let serverSyncStatus = serverSyncStatus,
serverSyncStatus != ServerSyncStatus.isNSync.rawValue
serverSyncStatus == ServerSyncStatus.needsCreation.rawValue
{
do {
if let originalHtml = originalHtml {