diff --git a/src/components/Shared/SignatureTooltip.jsx b/src/components/Shared/SignatureTooltip.jsx
index b925c196..c4433b48 100644
--- a/src/components/Shared/SignatureTooltip.jsx
+++ b/src/components/Shared/SignatureTooltip.jsx
@@ -12,8 +12,8 @@ function SignatureTooltip({ isSigned, signatureInfo }) {
{isSigned ? 'Verified Signature' : 'Unverified Signature'}
Tool: {tool}
- Trusted: {isTrusted ? 'Yes' : 'No'}
- Author: {author}
+ Trusted: {!isEmpty(isTrusted) ? isTrusted : 'Unknown'}
+ Author: {!isEmpty(author) ? author : 'Unknown'}
);
}
diff --git a/src/utilities/objectModels.js b/src/utilities/objectModels.js
index 7b577839..e8236583 100644
--- a/src/utilities/objectModels.js
+++ b/src/utilities/objectModels.js
@@ -101,7 +101,7 @@ const mapSignatureInfo = (signatureInfo) => {
return signatureInfo
? {
tool: signatureInfo.Tool,
- isTrusted: signatureInfo.IsTrusted,
+ isTrusted: signatureInfo.IsTrusted?.toString(),
author: signatureInfo.Author
}
: {
diff --git a/src/utilities/vulnerabilityAndSignatureComponents.jsx b/src/utilities/vulnerabilityAndSignatureComponents.jsx
index 9f85953f..370d608f 100644
--- a/src/utilities/vulnerabilityAndSignatureComponents.jsx
+++ b/src/utilities/vulnerabilityAndSignatureComponents.jsx
@@ -145,7 +145,7 @@ const CriticalVulnerabilityIcon = ({ vulnerabilityStringTitle }) => {
const NoneVulnerabilityChip = () => {
return (
{
@@ -159,7 +159,7 @@ const NoneVulnerabilityChip = () => {
const UnknownVulnerabilityChip = () => {
return (
{
@@ -187,7 +187,7 @@ const FailedScanChip = () => {
const LowVulnerabilityChip = () => {
return (
{
@@ -201,7 +201,7 @@ const LowVulnerabilityChip = () => {
const MediumVulnerabilityChip = () => {
return (
{
@@ -215,7 +215,7 @@ const MediumVulnerabilityChip = () => {
const HighVulnerabilityChip = () => {
return (
{
@@ -229,7 +229,7 @@ const HighVulnerabilityChip = () => {
const CriticalVulnerabilityChip = () => {
return (
{