diff --git a/apps/web/src/app/workspaces/workspaces.component.html b/apps/web/src/app/workspaces/workspaces.component.html index 29b5c9d9d711ec71b05e6235e7a425071401c51f..71cfca09fc1fd5fb0285b9dc0c262978c5bc8e25 100644 --- a/apps/web/src/app/workspaces/workspaces.component.html +++ b/apps/web/src/app/workspaces/workspaces.component.html @@ -31,6 +31,16 @@ Launch null at NMT </button> </div> + <div class="d-flex px-2"> + <button + type="button" + id="launchNullDagCapability" + class="btn btn-secondary btn-lg" + (click)="nullDagButtonOnClick()" + > + Launch multi-stage null capability + </button> + </div> </div> </div> <div class="container border rounded py-3 my-3"> diff --git a/apps/web/src/app/workspaces/workspaces.component.ts b/apps/web/src/app/workspaces/workspaces.component.ts index 5e9d5d4686f3e7b7ac75469bd2d5d1270fe42b45..3b995cc0812516c77ec5727f9ceae9f8c8806cb5 100644 --- a/apps/web/src/app/workspaces/workspaces.component.ts +++ b/apps/web/src/app/workspaces/workspaces.component.ts @@ -1,9 +1,7 @@ import { Component, OnInit } from "@angular/core"; import { CapabilityLauncherService } from "./services/capability-launcher.service"; import { CapabilityRequest } from "./model/capability-request"; -import { CapabilityExecution } from "./model/capability-execution"; import { JsonObject } from "@angular/compiler-cli/ngcc/src/packages/entry_point"; -import { ActivatedRoute, Router } from "@angular/router"; import { CapabilityRequestService } from "./services/capability-request.service"; @Component({ @@ -51,6 +49,13 @@ export class WorkspacesComponent implements OnInit { this.launchCapability("null", { arguments: "-g", remote: true }); } + /** + * OnClick method that creates a capability request for the null_dag capability + */ + nullDagButtonOnClick(): void { + this.launchCapability("null_dag", {}); + } + /** * OnClick method that creates a capability request a given capability and submits it with the standard parameters: * - Product locator