wenlong88 commented on a change in pull request #17938:
URL: https://github.com/apache/flink/pull/17938#discussion_r770160161
##########
File path:
flink-runtime-web/web-dashboard/src/app/pages/job/overview/detail/job-overview-drawer-detail.component.ts
##########
@@ -39,6 +40,12 @@ export class JobOverviewDrawerDetailComponent implements
OnInit, OnDestroy {
public ngOnInit(): void {
this.jobService.selectedVertex$.pipe(takeUntil(this.destroy$)).subscribe(node
=> {
this.node = node;
+ if (this.node != null && this.node.description != null) {
+ if (this.node.description.indexOf('<br/>') > 0) {
+ this.multilineNameCSS = 'name-multi-line';
+ this.node.description = this.node.description.replace(/<br\/>/g,
'\n');
Review comment:
In my experiment, the html tag here will be treat as raw string instead
of html content, so we need to format back in order to get the tree format
--
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]