NOTICKET: Minor fix for viewport glyph direction
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Fri, 24 Feb 2017 11:56:57 +0000 (12:56 +0100)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Fri, 24 Feb 2017 11:56:57 +0000 (12:56 +0100)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/plugins/launchpad/src/recordViewer/recordCard.jsx

index 88ff709..82d8973 100644 (file)
@@ -266,7 +266,7 @@ export default class RecordCard extends React.Component {
       if(this.props.isLoading) {
         html = <DashboardCard className="loading" showHeader={true} title={cardData["short-name"]}><LoadingIndicator size={10} show={true} /></DashboardCard>
       } else {
-        let glyphValue = (this.props.mmmrecordDetailsToggleValue) ? "chevron-left" : "chevron-right";
+        let glyphValue = (!this.props.recordDetailsToggleValue) ? "chevron-left" : "chevron-right";
 
         if (this.props.type == 'nsr') {
           tabList.push(