- {this.state.policies.length && (
-
- {this.state.policies.map((policy: any, idx) => (
-
-
-
-
-
-
- ))}
-
- )}
+ {this.state.loading && (
+
-
-
-
-
-
-
-
-
- )}
- {agent &&
- (agent || {}).os &&
- this.state.lookingPolicy &&
- (!this.state.loading || !this.state.checksIsLoading) && (
-
-
-
-
- this.handleBack(ev)
- : () => this.loadScaPolicy(false)
- }
- iconType='arrowLeft'
- aria-label='Back to policies'
- {...{ iconSize: 'l' }}
- />
-
-
-
-
- {this.state.lookingPolicy.name}
-
-
- this.setState({ showMoreInfo: false })
- }
- >
-
-
-
- Policy description:{' '}
- {this.state.lookingPolicy.description}
-
- Policy checksum:{' '}
- {this.state.lookingPolicy.hash_file}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
)}
+
+