mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 05:06:05 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -102,7 +102,7 @@ export default class HciAddonConfig extends HarvesterResource {
|
||||
}
|
||||
|
||||
get stateDescription() {
|
||||
const failedCondition = (this.status?.conditions || []).find(C => C.type === 'OperationFailed');
|
||||
const failedCondition = (this.status?.conditions || []).find((C) => C.type === 'OperationFailed');
|
||||
|
||||
return failedCondition?.message || super.stateDescription;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user