aicam commented on code in PR #3598:
URL: https://github.com/apache/texera/pull/3598#discussion_r2338012207
##########
core/gui/src/app/workspace/component/menu/menu.component.ts:
##########
@@ -202,6 +206,15 @@ export class MenuComponent implements OnInit, OnDestroy {
this.computingUnitStatusSubscription.unsubscribe();
}
+ private subscribeToComputingUnitSelection(): void {
+ this.computingUnitStatusService
+ .getSelectedComputingUnit()
+ .pipe(untilDestroyed(this))
+ .subscribe(unit => {
+ this.selectedComputingUnit = unit;
+ });
+ }
+
Review Comment:
This is to make sure if the CU has `READ` access, then you can't run your
workflow on it
--
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]