Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix e2e
  • Loading branch information
ellatrix committed Oct 27, 2025
commit 3ae713800f3a443a4d3381a8e929494dc496528c
7 changes: 3 additions & 4 deletions packages/edit-site/src/components/dataviews-actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ export const useSetActiveTemplateAction = () => {
return false;
}

// If it's not a created template but a registered template
// (which means the source property is set), only allow
// activating (so when it's inactive).
if ( item.source ) {
// If it's not a created template but a registered template,
// only allow activating (so when it's inactive).
if ( typeof item.id !== 'number' ) {
return item._isActive === false;
}

Expand Down