fix(updatemanager): only git repos can soft recover (#2191)

This commit is contained in:
Jonas Damtoft
2025-04-21 11:30:09 +02:00
committed by GitHub
parent 75e1444eea
commit e7cb98237b

View File

@@ -250,6 +250,9 @@ export default class UpdatePanelEntry extends Mixins(BaseMixin) {
}
get isCorrupt() {
// Only git repos can be corrupt
if (this.configuredType !== 'git_repo') return false
return this.repo.corrupt ?? false
}