Hide finish setup button when task list is disabled (#34410)
* Hide finish setup button when task list is disabled * Add changelog * Update plugins/woocommerce-admin/client/activity-panel/activity-panel.js Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com> Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
This commit is contained in:
parent
668244b2d7
commit
467b5dbfd2
|
@ -170,7 +170,7 @@ export const ActivityPanel = ( { isEmbedded, query } ) => {
|
|||
|
||||
const setupList = getTaskList( activeSetupList );
|
||||
|
||||
const isSetupTaskListHidden = setupList?.isHidden;
|
||||
const isSetupTaskListHidden = setupList?.isHidden ?? true;
|
||||
const setupVisibleTasks = getVisibleTasks( setupList?.tasks || [] );
|
||||
const extendedTaskList = getTaskList( 'extended' );
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Hide finish setup button when task list is disabled
|
Loading…
Reference in New Issue