mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-11-30 20:28:53 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
1 parent
8d4fde7451
commit
42c8dfa001
214 files changed
+3162
-1298
No files matched your search
@@ -78,7 +78,7 @@ export default class ScheduleVmBackup extends HarvesterResource {
|
||||
}
|
||||
|
||||
get stateDescription() {
|
||||
const suspendedCondition = (this.status?.conditions || []).find(c => c.type === 'BackupSuspend');
|
||||
const suspendedCondition = (this.status?.conditions || []).find((c) => c.type === 'BackupSuspend');
|
||||
|
||||
return ucFirst(suspendedCondition?.message) || super.stateDescription;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user