cyy0714 commented on a change in pull request #4600: [TE] frontend -
harleyjj/ai - fix small bug in AI Availability
URL: https://github.com/apache/incubator-pinot/pull/4600#discussion_r322489995
##########
File path: thirdeye/thirdeye-frontend/app/pods/aiavailability/route.js
##########
@@ -93,13 +93,13 @@ export default Route.extend({
anomaliesArray.forEach(anomalyId => {
const row = flow;
row['link to RCA'] = anomalyId;
- row.comment = row.comment.anomalyId;
+ row.comment = row.comment[anomalyId];
// build array of strings to put on DOM
row.columns = [];
tableHeaders.forEach(header => {
const cellValue = row[header.text];
if (header.text === 'link to RCA') {
- const domString = `<a
href="https://thirdeye.corp.linkedin.com/app/#/rootcause?anomalyId=${cellValue}">Comment
of the anomaly</a>`;
+ const domString = `<a
href="https://thirdeye.corp.linkedin.com/app/#/rootcause?anomalyId=${cellValue}">Investigate
anomaly</a>`;
Review comment:
Yes. Can be
<a
href="https://thirdeye.corp.linkedin.com/app/#/rootcause?anomalyId=1">Comments
of anomaly 1</a>
<a
href="https://thirdeye.corp.linkedin.com/app/#/rootcause?anomalyId=2">Comments
of anomaly 2</a>
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]