@reltio/components 1.4.1767 → 1.4.1768

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.
@@ -104,9 +104,6 @@ var useRelationsLoader = function (_a) {
104
104
  if (dataSorted === false && showSnackbarMessage) {
105
105
  showSnackbarMessage(ui_i18n_1.default.text('This profile contains a large number of relationships. We have disabled filtering and sorting to help optimize performance.'));
106
106
  }
107
- if ((connections || []).some((0, ramda_1.pipe)((0, ramda_1.path)(['relation', 'object']), ramda_1.isNil))) {
108
- console.error("loadRelations request, object is undefined (RP-125251)',\n connections: ".concat(JSON.stringify(connections), ",\n requestConfig: ").concat(JSON.stringify(configs_1), "\n entity.uri: ").concat(entity.uri, "\n tenant: ").concat(tenant, "\n entity.dataTenant: ").concat(entity.dataTenant));
109
- }
110
107
  relationsLoaded({ id: config.id, connections: connections, total: total, mode: modeRef.current });
111
108
  })
112
109
  .catch(function (e) {
@@ -10,7 +10,7 @@ var __assign = (this && this.__assign) || function () {
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
12
  import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
13
- import { cond, path, pipe, prop, T, evolve, filter as filterFn, isNil, when, identity, times, length, ifElse, always } from 'ramda';
13
+ import { cond, pipe, prop, T, evolve, filter as filterFn, when, identity, times, length, ifElse, always } from 'ramda';
14
14
  import i18n from 'ui-i18n';
15
15
  import { ActivityFilter, addGlobalFilterToQuery, getRelationsForDataTenantEntity, getRelationsForEntity, isAvailableEntityTypeUri, isAvailableRelationTypeUri, isDataTenantEntity, getInOutRelationUri, isTempUri, Mode, wrapInArrayIfNeeded } from '@reltio/mdm-sdk';
16
16
  import { useSafePromise } from './useSafePromise';
@@ -98,9 +98,6 @@ export var useRelationsLoader = function (_a) {
98
98
  if (dataSorted === false && showSnackbarMessage) {
99
99
  showSnackbarMessage(i18n.text('This profile contains a large number of relationships. We have disabled filtering and sorting to help optimize performance.'));
100
100
  }
101
- if ((connections || []).some(pipe(path(['relation', 'object']), isNil))) {
102
- console.error("loadRelations request, object is undefined (RP-125251)',\n connections: ".concat(JSON.stringify(connections), ",\n requestConfig: ").concat(JSON.stringify(configs_1), "\n entity.uri: ").concat(entity.uri, "\n tenant: ").concat(tenant, "\n entity.dataTenant: ").concat(entity.dataTenant));
103
- }
104
101
  relationsLoaded({ id: config.id, connections: connections, total: total, mode: modeRef.current });
105
102
  })
106
103
  .catch(function (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reltio/components",
3
- "version": "1.4.1767",
3
+ "version": "1.4.1768",
4
4
  "license": "SEE LICENSE IN LICENSE FILE",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./esm/index.js",