Avoid showing the alert option in the drop down
Only show it when there really is an alert table to see.
This commit is contained in:
@@ -106,7 +106,9 @@ export class ResultTables
|
||||
}
|
||||
|
||||
private getResultSetNames(): string[] {
|
||||
return this.props.parsedResultSets.resultSetNames.concat([ALERTS_TABLE_NAME]);
|
||||
return this.props.interpretation
|
||||
? this.props.parsedResultSets.resultSetNames.concat([ALERTS_TABLE_NAME])
|
||||
: this.props.parsedResultSets.resultSetNames;
|
||||
}
|
||||
|
||||
constructor(props: ResultTablesProps) {
|
||||
|
||||
Reference in New Issue
Block a user