Skip to content

Commit

Permalink
Fix typo argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 2, 2024
1 parent 0a36143 commit f2a28df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/vue/ReportMetadata.vue
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export default {
this.created = moment(data.created * 1000).fromNow();
this.errors = data.errors;
this.externalLink = externalLink({external_link: data.external_link ?? ''});
this.externalLink = externalLink({external_link: data.external_link});
this.hasSpdxReport = data.has_spdx_report;
this.actions = data.actions;
Expand All @@ -330,7 +330,7 @@ export default {
this.history = data.history;
for (const prev of this.history) {
prev.created = moment(prev.created * 1000).fromNow();
prev.externalLink = externalLink({external_link: prev.external_link ?? ''});
prev.externalLink = externalLink({external_link: prev.external_link});
prev.reportUrl = `/reviews/details/${prev.id}`;
}
Expand All @@ -352,7 +352,7 @@ export default {
this.productsHtml = data.products.map(name => productLink({name})).join(', ');
}
if (data.requests.length > 0) {
this.requestsHtml = data.requests.map(req => externalLink({externalLink: req})).join(', ');
this.requestsHtml = data.requests.map(req => externalLink({external_link: req})).join(', ');
}
if (data.reviewed !== null) this.reviewed = moment(data.reviewed * 1000).fromNow();
Expand Down

0 comments on commit f2a28df

Please sign in to comment.