Fix typos
This commit is contained in:
@@ -74,7 +74,7 @@ describe('<ProvidedApisCard />', () => {
|
||||
);
|
||||
|
||||
expect(getByText(/Provided APIs/i)).toBeInTheDocument();
|
||||
expect(getByText(/No Component provides this API/i)).toBeInTheDocument();
|
||||
expect(getByText(/No component provides this API/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('shows consumed APIs', async () => {
|
||||
|
||||
@@ -83,7 +83,7 @@ export const ProvidedApisCard = ({ variant = 'gridItem' }: Props) => {
|
||||
variant={variant}
|
||||
emptyContent={
|
||||
<div>
|
||||
No Component provides this API.{' '}
|
||||
No component provides this API.{' '}
|
||||
<Link to="https://backstage.io/docs/features/software-catalog/descriptor-format#specprovidesapis-optional">
|
||||
Learn how to provide APIs.
|
||||
</Link>
|
||||
|
||||
@@ -29,7 +29,7 @@ export function createSpecApiTypeColumn(): TableColumn<ApiEntity> {
|
||||
}
|
||||
|
||||
// TODO: This could be moved to plugin-catalog-react if we wouldn't have a
|
||||
// special createSpecApiTypeColumn. But this is requited to use ApiTypeTitle to
|
||||
// special createSpecApiTypeColumn. But this is required to use ApiTypeTitle to
|
||||
// resolve the display name of an entity. Is the display name really worth it?
|
||||
|
||||
export const apiEntityColumns: TableColumn<ApiEntity>[] = [
|
||||
|
||||
@@ -48,7 +48,7 @@ export function createEntityRefColumn<T extends Entity>({
|
||||
// each field that is displayed individually (kind, namespace, name).
|
||||
// but that migth confuse the user as it will behave different than a
|
||||
// simple text search.
|
||||
// Another altnerative would be to cache the values. But writing them
|
||||
// Another alternative would be to cache the values. But writing them
|
||||
// into the entity feels bad too.
|
||||
return formatContent(entity).includes(filter);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user