Load incomplete content, show errors
This commit is contained in:
@ -23,7 +23,6 @@ import SFSafeSymbols
|
||||
|
||||
**Fixes**
|
||||
- Files: Id change: Check all page contents for links to the renamed file and replace occurences
|
||||
- Database: Show errors during loading
|
||||
- Investigate issue with spaces in content file names
|
||||
*/
|
||||
|
||||
|
@ -20,6 +20,11 @@ struct StorageErrorView: View {
|
||||
}
|
||||
}
|
||||
.frame(minHeight: 300)
|
||||
if content.saveState == .savingPausedDueToLoadErrors {
|
||||
Button("Allow saving", action: { content.resumeSavingAfterLoadingErrors() })
|
||||
.padding()
|
||||
Text("Saving has been disabled to prevent data corruption due to loading errors. Enable saving to save the partially loaded data.")
|
||||
}
|
||||
Button("Dismiss", action: { isPresented = false })
|
||||
.padding()
|
||||
}
|
||||
|
Reference in New Issue
Block a user