Skip to content

Commit

Permalink
default service catalog installation (vmware-tanzu#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
sozercan authored and prydonius committed Feb 14, 2018
1 parent f6514ea commit 50f61d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/components/AppView/AppView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ class AppView extends React.Component<IAppViewProps, IAppViewState> {
const otherResources = manifest
.filter(d => watchedKinds.indexOf(d.kind) < 0)
.reduce((acc, r) => {
// TODO: skip list resource for now
if (r.kind === "List") {
return acc;
}
acc[`${r.kind}/${r.metadata.name}`] = r;
return acc;
}, new Map<string, IResource>());
Expand Down
2 changes: 1 addition & 1 deletion src/components/ServiceCatalog/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ServiceCatalogView extends React.Component<
<div>
<p>Service Catalog not installed.</p>
<div className="padding-normal">
<Link className="button button-primary" to={`/charts`}>
<Link className="button button-primary" to={`/charts/svc-cat/catalog`}>
Install Catalog
</Link>
</div>
Expand Down

0 comments on commit 50f61d3

Please sign in to comment.