eemario commented on code in PR #27464:
URL: https://github.com/apache/flink/pull/27464#discussion_r2726144536


##########
flink-runtime-web/web-dashboard/src/app/components/job-list/job-list.component.ts:
##########
@@ -101,6 +101,16 @@ export class JobListComponent implements OnInit, 
OnDestroy, OnChanges {
     this.jobData$.subscribe(data => {
       this.isLoading = false;
       this.listOfJob = data.filter(item => item.completed === this.completed);
+
+      // Apply default sorting based on completed status

Review Comment:
   `this.listOfJob` won't contain both completed and uncompleted jobs at the 
same time because we use separate `JobListComponent` instances for each state, 
marked by `this.completed`. And `this.listOfJob` is filtered to include only 
those `JobsItem` whose status matches `this.completed`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to