Skip to content

Commit

Permalink
feat: Show active view name on templates frame title
Browse files Browse the repository at this point in the history
Signed-off-by: Souptik Datta <[email protected]>
  • Loading branch information
Souptik2001 committed May 29, 2024
1 parent d10acbe commit 3c6ca8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/page-templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export default function PageTemplates() {
return (
<Page
className="edit-site-page-templates"
title={ __( 'Templates' ) }
title={ 'all' === activeView ? __( 'All templates' ) : activeView }
actions={ <AddNewTemplate /> }
>
<DataViews
Expand Down

0 comments on commit 3c6ca8c

Please sign in to comment.