mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
parent
3ad841bc15
commit
05ab0a3f55
@ -2773,7 +2773,11 @@ exports[`opening dock tab for installing helm chart given application is started
|
||||
</span>
|
||||
<span
|
||||
class="value"
|
||||
/>
|
||||
>
|
||||
<li>
|
||||
Some Foo<some@foo.com>
|
||||
</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<some@foo.com>
|
||||
</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<some@foo.com>
|
||||
</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<some@foo.com>
|
||||
</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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user