Skip to content

Commit 38c918f

Browse files
committed
Rename responseType used in switch statement to providerType
Signed-off-by: Anh Hoang Nguyen <anh.nguyen@ericsson.com>
1 parent 84b68af commit 38c918f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

local-libs/traceviewer-libs/react-components/src/components/trace-context-component.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -681,13 +681,13 @@ export class TraceContextComponent extends React.Component<TraceContextProps, Tr
681681
>
682682
{outputs.map(output => {
683683
let onOutputRemove;
684-
let responseType;
684+
let providerType;
685685
if (isOverview) {
686686
onOutputRemove = this.props.onOverviewRemove;
687-
responseType = 'OVERVIEW';
687+
providerType = 'OVERVIEW';
688688
} else {
689689
onOutputRemove = this.props.onOutputRemove;
690-
responseType = output.type;
690+
providerType = output.type;
691691
}
692692

693693
const outputProps: AbstractOutputProps = {
@@ -709,7 +709,7 @@ export class TraceContextComponent extends React.Component<TraceContextProps, Tr
709709
setChartOffset: this.setChartOffset,
710710
pinned: this.state.pinnedView ? this.state.pinnedView === output : undefined
711711
};
712-
switch (responseType) {
712+
switch (providerType) {
713713
case 'OVERVIEW':
714714
return (
715715
<TraceOverviewComponent

0 commit comments

Comments
 (0)