react-autoql 3.4.1 → 3.4.2
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/dist/autoql.esm.css +1404 -1404
- package/dist/autoql.esm.js +13 -13
- package/package.json +1 -1
package/dist/autoql.esm.js
CHANGED
|
@@ -11595,7 +11595,7 @@ var fetchDataAlerts = function fetchDataAlerts(_ref5) {
|
|
|
11595
11595
|
Authorization: "Bearer ".concat(token)
|
|
11596
11596
|
}
|
|
11597
11597
|
});
|
|
11598
|
-
var url = "".concat(domain, "/autoql/
|
|
11598
|
+
var url = "".concat(domain, "/autoql/api/v1/data-alerts?key=").concat(apiKey);
|
|
11599
11599
|
return axiosInstance.get(url).then(function (response) {
|
|
11600
11600
|
return Promise.resolve(_get(response, 'data'));
|
|
11601
11601
|
}).catch(function (error) {
|
|
@@ -11933,7 +11933,7 @@ var updateDataAlert = function updateDataAlert(_ref18) {
|
|
|
11933
11933
|
Authorization: "Bearer ".concat(token)
|
|
11934
11934
|
}
|
|
11935
11935
|
});
|
|
11936
|
-
var url = "".concat(domain, "/autoql/
|
|
11936
|
+
var url = "".concat(domain, "/autoql/api/v1/data-alerts/").concat(dataAlert.id, "?key=").concat(apiKey);
|
|
11937
11937
|
return axiosInstance.put(url, dataAlert).then(function (response) {
|
|
11938
11938
|
return Promise.resolve(response);
|
|
11939
11939
|
}).catch(function (error) {
|
|
@@ -12009,7 +12009,7 @@ var deleteDataAlert = function deleteDataAlert(dataAlertId, projectId, authObjec
|
|
|
12009
12009
|
Authorization: "Bearer ".concat(token)
|
|
12010
12010
|
}
|
|
12011
12011
|
});
|
|
12012
|
-
var url = "".concat(domain, "/autoql/
|
|
12012
|
+
var url = "".concat(domain, "/autoql/api/v1/data-alerts/").concat(dataAlertId, "?key=").concat(apiKey);
|
|
12013
12013
|
return axiosInstance.delete(url).then(function (response) {
|
|
12014
12014
|
return Promise.resolve(response);
|
|
12015
12015
|
}).catch(function (error) {
|
|
@@ -15246,16 +15246,16 @@ var DataAlerts = /*#__PURE__*/function (_React$Component) {
|
|
|
15246
15246
|
});
|
|
15247
15247
|
|
|
15248
15248
|
_defineProperty(_assertThisInitialized(_this), "render", function () {
|
|
15249
|
-
if (!
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15257
|
-
|
|
15258
|
-
|
|
15249
|
+
// if (!this.state.customAlertsList) {
|
|
15250
|
+
// return (
|
|
15251
|
+
// <div
|
|
15252
|
+
// data-test="notification-settings"
|
|
15253
|
+
// style={{ textAlign: 'center', marginTop: '100px' }}
|
|
15254
|
+
// >
|
|
15255
|
+
// <LoadingDots />
|
|
15256
|
+
// </div>
|
|
15257
|
+
// )
|
|
15258
|
+
// }
|
|
15259
15259
|
var projectAlertsList = _get(_this.state, 'projectAlertsList', []);
|
|
15260
15260
|
|
|
15261
15261
|
var customAlertsList = _get(_this.state, 'customAlertsList', []);
|