Skip to content

Commit

Permalink
Fix plugin name rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Nov 23, 2021
1 parent 6a4bed0 commit 60f8a87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/core-data/src/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ export const defaultEntities = [
kind: 'root',
baseURL: '/wp/v2/plugins',
baseURLParams: { context: 'edit' },
key: 'plugin',
},
];

Expand Down
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/list/added-by.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function AddedByPlugin( { slug } ) {
<div className="edit-site-list-added-by__icon">
<Icon icon={ pluginIcon } />
</div>
<span>{ plugin?.name?.rendered }</span>
<span>{ plugin?.name }</span>
</HStack>
);
}
Expand Down

0 comments on commit 60f8a87

Please sign in to comment.