Fix id of Items, saving
This commit is contained in:
@ -11,7 +11,7 @@ extension ImageToGenerate: Hashable {
|
||||
|
||||
func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(size)
|
||||
hasher.combine(image.id)
|
||||
hasher.combine(image.identifier)
|
||||
}
|
||||
}
|
||||
|
||||
@ -284,7 +284,7 @@ final class PageGenerationResults: ObservableObject {
|
||||
func markPageAsEmpty() {
|
||||
guard case .page(let page) = itemId.itemType else { return }
|
||||
onMain { self.pageIsEmpty = true }
|
||||
delegate.empty(.init(language: itemId.language, pageId: page.id))
|
||||
delegate.empty(.init(language: itemId.language, pageId: page.identifier))
|
||||
}
|
||||
|
||||
func redirect(from originalUrl: String, to newUrl: String) {
|
||||
|
Reference in New Issue
Block a user