Revert "NewcomerTaskStore: update the task queue before finishing loading"

This reverts commit 86435e2ab5.

Reason for revert: caused T360469, which Kirsten considers to be
more problematic

Bug: T360469
Bug: T359992
Change-Id: I9c8da6321e1bdbb9b33b03addb183c06daf8c4ef
这个提交包含在:
Urbanecm 2024-03-20 16:16:49 +00:00
父节点 5aa408a543
当前提交 3bd68d9483
共有 1 个文件被更改,包括 1 次插入1 次删除

查看文件

@ -353,8 +353,8 @@ NewcomerTasksStore.prototype.fetchTasks = function ( context, config ) {
this.taskCount = updatedTaskQueue.length;
}
this.setTaskQueue( updatedTaskQueue );
this.setTaskQueueLoading( false );
this.setTaskQueue( updatedTaskQueue );
if ( this.taskQueue.length ) {
this.maybeUpdateQualityGateConfig( this.taskQueue[ 0 ] );