]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/frontend/src/app/core/error/error.component.ts
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / core / error / error.component.ts
index d26bc6db43b764ee518383e4cfb866cd80814afa..ce959e13d0bd11064a80d3d1a82648d2b0fee6b3 100644 (file)
@@ -28,6 +28,9 @@ export class ErrorComponent implements OnDestroy, OnInit {
   buttonRoute: string;
   buttonName: string;
   buttonTitle: string;
+  secondaryButtonRoute: string;
+  secondaryButtonName: string;
+  secondaryButtonTitle: string;
   component: string;
 
   constructor(
@@ -81,6 +84,9 @@ export class ErrorComponent implements OnDestroy, OnInit {
       this.buttonRoute = history.state.button_route;
       this.buttonName = history.state.button_name;
       this.buttonTitle = history.state.button_title;
+      this.secondaryButtonRoute = history.state.secondary_button_route;
+      this.secondaryButtonName = history.state.secondary_button_name;
+      this.secondaryButtonTitle = history.state.secondary_button_title;
       this.component = history.state.component;
       this.docUrl = this.docService.urlGenerator(this.section);
     } catch (error) {