[Customize Your Store] Correct activeThemeHasMods conditionals (#40560)
* Fix activeThemeHasMods logic * Add changelog
This commit is contained in:
parent
44a78870b3
commit
6d14eb744e
|
@ -93,9 +93,9 @@ export const fetchIntroData = async () => {
|
|||
const { getTask } = resolveSelect( ONBOARDING_STORE_NAME );
|
||||
|
||||
const activeThemeHasMods =
|
||||
currentTemplate?.modified !== null ||
|
||||
!! currentTemplate?.modified ||
|
||||
styleRevs?.length > 0 ||
|
||||
hasModifiedPages.length > 0;
|
||||
hasModifiedPages;
|
||||
const customizeStoreTaskCompleted = ( await getTask( 'customize-store' ) )
|
||||
?.isComplete;
|
||||
const themeCards = await fetchThemeCards();
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fix customize your store activeThemeHasMods logic
|
Loading…
Reference in New Issue