Skip to content

Commit

Permalink
Updates to ComponentVersions component to clear errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ctauchen committed Mar 7, 2024
1 parent be6dac2 commit 88093c7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
3 changes: 2 additions & 1 deletion calico-enterprise/_includes/components/ComponentVersions.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default function ComponentVersions() {
const { prodname, version, downloadsurl } = variables;

const releases = variables.releases.map((release) => {
});
return release;
}).filter(release => release);

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export default function ComponentVersions() {
const { prodname, version, downloadsurl } = variables;

const releases = variables.releases.map((release) => {
let note = release.note;
});
return release;
}).filter(release => release);

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default function ComponentVersions() {
const { prodname, version, downloadsurl } = variables;

const releases = variables.releases.map((release) => {
});
return release;
}).filter(release => release);

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default function ComponentVersions() {
const { prodname, version, downloadsurl } = variables;

const releases = variables.releases.map((release) => {
});
return release;
}).filter(release => release);

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default function ComponentVersions() {
const { prodname, version, downloadsurl } = variables;

const releases = variables.releases.map((release) => {
});
return release;
}).filter(release => release);

return (
<>
Expand Down
3 changes: 2 additions & 1 deletion calico/_includes/components/ComponentVersions.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default function ComponentVersions() {
const { prodname, version, downloadsurl } = variables;

const releases = variables.releases.map((release) => {
});
return release;
}).filter(release => release);

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export default function ComponentVersions() {
const { prodname, version, downloadsurl } = variables;

const releases = variables.releases.map((release) => {
});
return release;
}).filter(release => release);

return (
<>
Expand Down

0 comments on commit 88093c7

Please sign in to comment.