mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix removal of langci from repo (#2204)
- Move all strings of the form {`...`} to use just ""
- Fix RoleBindingDetails not rendering the name of the role binding
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
83d7e4550c
commit
5258aab0d2
35 files changed
+78
-78
No files matched your search
@@ -82,9 +82,9 @@ export class HelmChartDetails extends Component<Props> {
|
||||
<div className="intro-contents box grow">
|
||||
<div className="description flex align-center justify-space-between">
|
||||
{selectedChart.getDescription()}
|
||||
<Button primary label={`Install`} onClick={this.install} />
|
||||
<Button primary label="Install" onClick={this.install} />
|
||||
</div>
|
||||
<DrawerItem name={`Version`} className="version" onClick={stopPropagation}>
|
||||
<DrawerItem name="Version" className="version" onClick={stopPropagation}>
|
||||
<Select
|
||||
themeName="outlined"
|
||||
menuPortalTarget={null}
|
||||
@@ -93,16 +93,16 @@ export class HelmChartDetails extends Component<Props> {
|
||||
onChange={onVersionChange}
|
||||
/>
|
||||
</DrawerItem>
|
||||
<DrawerItem name={`Home`}>
|
||||
<DrawerItem name="Home">
|
||||
<a href={selectedChart.getHome()} target="_blank" rel="noreferrer">{selectedChart.getHome()}</a>
|
||||
</DrawerItem>
|
||||
<DrawerItem name={`Maintainers`} className="maintainers">
|
||||
<DrawerItem name="Maintainers" className="maintainers">
|
||||
{selectedChart.getMaintainers().map(({ name, email, url }) =>
|
||||
<a key={name} href={url || `mailto:${email}`} target="_blank" rel="noreferrer">{name}</a>
|
||||
)}
|
||||
</DrawerItem>
|
||||
{selectedChart.getKeywords().length > 0 && (
|
||||
<DrawerItem name={`Keywords`} labelsOnly>
|
||||
<DrawerItem name="Keywords" labelsOnly>
|
||||
{selectedChart.getKeywords().map(key => <Badge key={key} label={key} />)}
|
||||
</DrawerItem>
|
||||
)}
|
||||
|
||||
@@ -76,7 +76,7 @@ export class HelmCharts extends Component<Props> {
|
||||
(items: HelmChart[]) => items.filter(item => !item.deprecated)
|
||||
]}
|
||||
customizeHeader={() => (
|
||||
<SearchInputUrl placeholder={`Search Helm Charts`} />
|
||||
<SearchInputUrl placeholder="Search Helm Charts" />
|
||||
)}
|
||||
renderTableHeader={[
|
||||
{ className: "icon", showWithColumn: columnId.name },
|
||||
|
||||
Reference in new issue
Block a user