@adaptabletools/adaptable-plugin-ipushpull 13.0.0-canary.5 → 13.0.0-canary.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable-plugin-ipushpull",
3
- "version": "13.0.0-canary.5",
3
+ "version": "13.0.0-canary.7",
4
4
  "description": "",
5
5
  "homepage": "http://www.adaptabletools.com/",
6
6
  "author": {
@@ -19,6 +19,6 @@
19
19
  "redux": "4.0.5",
20
20
  "styled-components": "^4.4.1",
21
21
  "tslib": "^2.3.0",
22
- "@adaptabletools/adaptable": "13.0.0-canary.5"
22
+ "@adaptabletools/adaptable": "13.0.0-canary.7"
23
23
  }
24
24
  }
@@ -99,7 +99,7 @@ const IPushPullViewPanelComponent = (props) => {
99
99
  props.CurrentIPushPullFolder == props.CurrentLiveIPushPullReport.Folder &&
100
100
  props.CurrentIPushPullPage == props.CurrentLiveIPushPullReport.Page;
101
101
  const elementType = props.viewType === 'Toolbar' ? 'DashboardToolbar' : 'ToolPanel';
102
- return true ? (React.createElement(rebass_1.Flex, { flexDirection: "row", className: `ab-${elementType}__IPushPull__wrap`, flexWrap: props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
102
+ return props.IsIPushPullRunning ? (React.createElement(rebass_1.Flex, { flexDirection: "row", className: `ab-${elementType}__IPushPull__wrap`, flexWrap: props.viewType === 'ToolPanel' ? 'wrap' : 'nowrap' },
103
103
  React.createElement(rebass_1.Flex, null,
104
104
  React.createElement(DropdownButton_1.default, { disabled: allReports.length == 0 || isLiveIPushPullReport, style: { minWidth: 140, fontSize: 'small' }, items: availableReports, columns: ['label'], className: `ab-${elementType}__IPushPull__select`, onClear: () => onSelectedReportChanged(''), showClearButton: StringExtensions_1.StringExtensions.IsNotNullOrEmpty(props.CurrentIPushPullReportName), variant: "outlined", marginRight: 2 }, StringExtensions_1.StringExtensions.IsNotNullOrEmpty(props.CurrentIPushPullReportName)
105
105
  ? props.CurrentIPushPullReportName