Fix "Finish setup" icon remains if tasks are disabled without being completed (#52204)
* Fix "Finish setup" icon remains if tasks are disabled without being completed * Add changelog * Remove console
This commit is contained in:
parent
b69ba253f4
commit
6e0c754f64
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fix "Finish setup" icon remains if tasks are disabled without being completed
|
|
@ -180,7 +180,7 @@ export const ActivityPanel = ( { isEmbedded, query } ) => {
|
|||
|
||||
const setupList = activeSetupList && getTaskList( activeSetupList );
|
||||
|
||||
const isSetupTaskListHidden = setupList?.isHidden ?? false;
|
||||
const isSetupTaskListHidden = setupList ? setupList.isHidden : true; // If setupList is null, it means the setup task list is disabled.
|
||||
const setupVisibleTasks = getVisibleTasks( setupList?.tasks || [] );
|
||||
const extendedTaskList = getTaskList( 'extended' );
|
||||
|
||||
|
|
Loading…
Reference in New Issue