@adaptabletools/adaptable-plugin-openfin 14.0.0-canary.2 → 14.0.0
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 +2 -2
- package/src/OpenFinApiImpl.js +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaptabletools/adaptable-plugin-openfin",
|
|
3
|
-
"version": "14.0.0
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "http://www.adaptabletools.com/",
|
|
6
6
|
"author": {
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"redux": "4.0.5",
|
|
21
21
|
"styled-components": "^4.4.1",
|
|
22
22
|
"tslib": "^2.3.0",
|
|
23
|
-
"@adaptabletools/adaptable": "14.0.0
|
|
23
|
+
"@adaptabletools/adaptable": "14.0.0"
|
|
24
24
|
}
|
|
25
25
|
}
|
package/src/OpenFinApiImpl.js
CHANGED
|
@@ -114,7 +114,7 @@ class OpenFinApiImpl extends ApiBase_1.ApiBase {
|
|
|
114
114
|
notification.expires = new Date(Date.now() + this.options.notificationTimeout);
|
|
115
115
|
}
|
|
116
116
|
const showIcon = this.options.showAppIconInNotifications;
|
|
117
|
-
const appIcon = (_a = this.adaptable.api.
|
|
117
|
+
const appIcon = (_a = this.adaptable.api.optionsApi.getUserInterfaceOptions()) === null || _a === void 0 ? void 0 : _a.applicationIcon;
|
|
118
118
|
if (!notification.icon && showIcon && (0, AdaptableIconComponent_1.isAdaptableExternalIcon)(appIcon)) {
|
|
119
119
|
notification.icon = appIcon.src;
|
|
120
120
|
}
|
|
@@ -157,10 +157,10 @@ class OpenFinApiImpl extends ApiBase_1.ApiBase {
|
|
|
157
157
|
return this.getAdaptableState().Schedule.OpenFinSchedules || [];
|
|
158
158
|
}
|
|
159
159
|
getNotificationsOptions() {
|
|
160
|
-
return this.getAdaptableApi().
|
|
160
|
+
return this.getAdaptableApi().optionsApi.getNotificationsOptions();
|
|
161
161
|
}
|
|
162
162
|
getAlertOptions() {
|
|
163
|
-
return this.getAdaptableApi().
|
|
163
|
+
return this.getAdaptableApi().optionsApi.getAlertOptions();
|
|
164
164
|
}
|
|
165
165
|
startLiveData(OpenFinReport) {
|
|
166
166
|
if (this.checkItemExists(OpenFinReport, OpenFinReport.ReportName, 'OpenFin Report')) {
|