diff --git a/packages/extensionmanager/src/companions.tsx b/packages/extensionmanager/src/companions.tsx index 67f3c6eb00f5..1cf7cde40819 100644 --- a/packages/extensionmanager/src/companions.tsx +++ b/packages/extensionmanager/src/companions.tsx @@ -108,7 +108,7 @@ export function presentCompanions( let entries = []; if (serverCompanion) { entries.push( -

+

This package has indicated that it needs a corresponding server extension: {serverCompanion.base.name!} @@ -117,28 +117,28 @@ export function presentCompanions( } if (kernelCompanions.length > 0) { entries.push( -

+

This package has indicated that it needs a corresponding package for the kernel.

); - for (let entry of kernelCompanions) { + for (let [index, entry] of kernelCompanions.entries()) { entries.push( -

+

The package {entry.kernelInfo.base.name!}, is required by the following kernels:

); let kernelEntries = []; - for (let kernel of entry.kernels) { + for (let [index, kernel] of entry.kernels.entries()) { kernelEntries.push( -
  • +
  • {kernel.display_name}
  • ); } - entries.push(); + entries.push(); } } let body = (