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:
Chi-Hsuan Huang 2022-08-24 09:39:01 +08:00 committed by GitHub
parent 668244b2d7
commit 467b5dbfd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -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' );

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Hide finish setup button when task list is disabled