Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Nov 28, 2021
1 parent 4adb507 commit af8b3d5
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.is_custom ) {
if ( template.has_theme_file ) {
return null;
}

Expand Down

0 comments on commit af8b3d5

Please sign in to comment.