fix(updatemanager): only git repos can soft recover (#2191)
This commit is contained in:
parent
75e1444eea
commit
e7cb98237b
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user