@orchestrator-ui/orchestrator-ui-components 4.1.0 → 4.1.1

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": "@orchestrator-ui/orchestrator-ui-components",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Library of UI Components used to display the workflow orchestrator frontend",
6
6
  "author": {
@@ -101,7 +101,9 @@ export function UnconnectedSelectField({
101
101
  if (selectedValue && selectedValue.value !== 'undefined') {
102
102
  onChange(selectedValue.value);
103
103
  }
104
- }, [onChange, selectedValue]);
104
+ // Adding the missing dependencies to the dependency array leads to an infinite loop
105
+ // eslint-disable-next-line react-hooks/exhaustive-deps
106
+ }, []);
105
107
 
106
108
  if (fieldType === Array) {
107
109
  // Avoid circular import with our own ListSelectField (instead of recursively trying to use SelectField)
@@ -165,7 +165,9 @@ function Vlan({
165
165
  ) {
166
166
  onChange('');
167
167
  }
168
- }, [onChange, subscriptionId, isFetched, portIsTagged, value, disabled]);
168
+ // Adding the missing dependencies to the dependency array leads to an infinite loop
169
+ // eslint-disable-next-line react-hooks/exhaustive-deps
170
+ }, [onChange, subscriptionId, isFetched, portIsTagged]);
169
171
 
170
172
  const [usedVlansInIms, setUsedVlansInIms] = useState<VlanRange[]>([]);
171
173
  const [missingInIms, setMissingInIms] = useState(false);
@@ -1 +1 @@
1
- export const ORCHESTRATOR_UI_LIBRARY_VERSION = '4.1.0';
1
+ export const ORCHESTRATOR_UI_LIBRARY_VERSION = '4.1.1';