Remove hyperlink of Helm Maintainers (#6579)

- Instead just show the name and email

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-11-16 04:34:34 -08:00
1 parent 3ad841bc15
commit 05ab0a3f55
3 files changed
+40 -18

No files matched your search

@@ -2773,7 +2773,11 @@ exports[`opening dock tab for installing helm chart given application is started
</span>
<span
class="value"
/>
>
<li>
Some Foo&lt;some@foo.com&gt;
</li>
</span>
</div>
</div>
</div>
@@ -3676,7 +3680,11 @@ exports[`opening dock tab for installing helm chart given application is started
</span>
<span
class="value"
/>
>
<li>
Some Foo&lt;some@foo.com&gt;
</li>
</span>
</div>
</div>
</div>
@@ -4589,7 +4597,11 @@ exports[`opening dock tab for installing helm chart given application is started
</span>
<span
class="value"
/>
>
<li>
Some Foo&lt;some@foo.com&gt;
</li>
</span>
</div>
</div>
</div>
@@ -5492,7 +5504,11 @@ exports[`opening dock tab for installing helm chart given application is started
</span>
<span
class="value"
/>
>
<li>
Some Foo&lt;some@foo.com&gt;
</li>
</span>
</div>
</div>
</div>
@@ -95,7 +95,10 @@ describe("opening dock tab for installing helm chart", () => {
urls: [],
annotations: {},
dependencies: [],
maintainers: [],
maintainers: [{
email: "some@foo.com",
name: "Some Foo",
}],
deprecated: false,
}),
@@ -111,7 +114,10 @@ describe("opening dock tab for installing helm chart", () => {
urls: [],
annotations: {},
dependencies: [],
maintainers: [],
maintainers: [{
email: "other@bar.com",
name: "Other Bar",
}],
deprecated: false,
}),
]);
@@ -162,7 +168,10 @@ describe("opening dock tab for installing helm chart", () => {
urls: [],
annotations: {},
dependencies: [],
maintainers: [],
maintainers: [{
email: "some@foo.com",
name: "Some Foo",
}],
deprecated: false,
}),
@@ -178,7 +187,10 @@ describe("opening dock tab for installing helm chart", () => {
urls: [],
annotations: {},
dependencies: [],
maintainers: [],
maintainers: [{
email: "other@bar.com",
name: "Other Bar",
}],
deprecated: false,
}),
]);
@@ -117,16 +117,10 @@ class NonInjectedHelmChartDetails extends Component<HelmChartDetailsProps & Depe
</a>
</DrawerItem>
<DrawerItem name="Maintainers" className="maintainers">
{selectedChart.getMaintainers().map(({ name, email, url }) => (
<a
key={name}
href={url || `mailto:${email}`}
target="_blank"
rel="noreferrer"
>
{name}
</a>
))}
{selectedChart.getMaintainers()
.map(({ name, email }) => (
<li key={name}>{`${name}<${email}>`}</li>
))}
</DrawerItem>
{selectedChart.getKeywords().length > 0 && (
<DrawerItem name="Keywords" labelsOnly>