Skip to content

Commit

Permalink
Use is_custom
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Nov 26, 2021
1 parent a606b56 commit 1d68794
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -27,7 +27,7 @@ export default function RenameMenuItem( { template, onClose } ) {
noticesStore
);

if ( template.has_theme_file ) {
if ( ! template.is_custom ) {
return null;
}

Expand Down

0 comments on commit 1d68794

Please sign in to comment.