Skip to content

Commit 7775abf

Browse files
chihsuanilyasfoo
andauthored
Update plugins/woocommerce-admin/client/activity-panel/activity-panel.js
Co-authored-by: Ilyas Foo <[email protected]>
1 parent 4e0675a commit 7775abf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/woocommerce-admin/client/activity-panel/activity-panel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const ActivityPanel = ( { isEmbedded, query } ) => {
170170

171171
const setupList = getTaskList( activeSetupList );
172172

173-
const isSetupTaskListHidden = setupList ? setupList.isHidden : true;
173+
const isSetupTaskListHidden = setupList?.isHidden ?? true;
174174
const setupVisibleTasks = getVisibleTasks( setupList?.tasks || [] );
175175
const extendedTaskList = getTaskList( 'extended' );
176176

0 commit comments

Comments
 (0)