Always display details for the indexDeletion task

This commit is contained in:
Kerollmops 2022-11-22 15:14:22 +01:00
parent 6784d17d0e
commit 2ec699a2e7
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -200,13 +200,12 @@ impl KindWithContent {
deleted_documents: None,
})
}
KindWithContent::DocumentClear { .. } => {
KindWithContent::DocumentClear { .. } | KindWithContent::IndexDeletion { .. } => {
Some(Details::ClearAll { deleted_documents: None })
}
KindWithContent::SettingsUpdate { new_settings, .. } => {
Some(Details::SettingsUpdate { settings: new_settings.clone() })
}
KindWithContent::IndexDeletion { .. } => None,
KindWithContent::IndexCreation { primary_key, .. }
| KindWithContent::IndexUpdate { primary_key, .. } => {
Some(Details::IndexInfo { primary_key: primary_key.clone() })