This is an automated email from the ASF dual-hosted git repository.

RocMarshal pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new b101fa35ebf [FLINK-39550][runtime-web] Fix the Rescales tab order 
error on the job page (#28044)
b101fa35ebf is described below

commit b101fa35ebfc80cdb0b74b6075c3adfd6291188d
Author: Chan hae OH <[email protected]>
AuthorDate: Mon Apr 27 23:41:22 2026 +0900

    [FLINK-39550][runtime-web] Fix the Rescales tab order error on the job page 
(#28044)
    
    Co-authored-by: Yuepeng Pan <[email protected]>
---
 .../src/app/pages/job/job-detail/status/job-status.component.ts        | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/flink-runtime-web/web-dashboard/src/app/pages/job/job-detail/status/job-status.component.ts
 
b/flink-runtime-web/web-dashboard/src/app/pages/job/job-detail/status/job-status.component.ts
index b243d136360..c5def1f2aec 100644
--- 
a/flink-runtime-web/web-dashboard/src/app/pages/job/job-detail/status/job-status.component.ts
+++ 
b/flink-runtime-web/web-dashboard/src/app/pages/job/job-detail/status/job-status.component.ts
@@ -79,7 +79,8 @@ export class JobStatusComponent implements OnInit, OnDestroy {
     private readonly router: Router,
     @Inject(JOB_MODULE_CONFIG) readonly moduleConfig: JobModuleConfig
   ) {
-    this.listOfNavigation = moduleConfig.routerTabs || 
JOB_MODULE_DEFAULT_CONFIG.routerTabs;
+    // Create a copy to avoid mutating the shared config
+    this.listOfNavigation = [...(moduleConfig.routerTabs || 
JOB_MODULE_DEFAULT_CONFIG.routerTabs)];
     this.checkpointIndexOfNavigation = this.checkpointIndexOfNav();
     this.rescalesIndexOfNavigation = this.rescalesIndexOfNav();
   }

Reply via email to