@dative-gpi/foundation-core-components 1.0.115 → 1.0.116

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.
@@ -235,13 +235,14 @@ export default defineComponent({
235
235
  const search = ref("");
236
236
 
237
237
  const deviceExplorerElements = computed((): DeviceExplorerElementInfos[] => {
238
+ let elements = entities.value.slice();
238
239
  if (props.connectedOnly) {
239
- return entities.value.filter(dee =>
240
+ elements = elements.filter(dee =>
240
241
  dee.type === DeviceExplorerElementType.Group ||
241
242
  (dee.connectivity != null && dee.connectivity.status != ConnectivityStatus.None)
242
243
  );
243
244
  }
244
- return entities.value;
245
+ return elements.sort((a, b) => a.type - b.type);
245
246
  });
246
247
 
247
248
  const isSelected = (id: string): boolean => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dative-gpi/foundation-core-components",
3
3
  "sideEffects": false,
4
- "version": "1.0.115",
4
+ "version": "1.0.116",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -10,11 +10,11 @@
10
10
  "author": "",
11
11
  "license": "ISC",
12
12
  "dependencies": {
13
- "@dative-gpi/foundation-core-domain": "1.0.115",
14
- "@dative-gpi/foundation-core-services": "1.0.115",
15
- "@dative-gpi/foundation-shared-components": "1.0.115",
16
- "@dative-gpi/foundation-shared-domain": "1.0.115",
17
- "@dative-gpi/foundation-shared-services": "1.0.115"
13
+ "@dative-gpi/foundation-core-domain": "1.0.116",
14
+ "@dative-gpi/foundation-core-services": "1.0.116",
15
+ "@dative-gpi/foundation-shared-components": "1.0.116",
16
+ "@dative-gpi/foundation-shared-domain": "1.0.116",
17
+ "@dative-gpi/foundation-shared-services": "1.0.116"
18
18
  },
19
19
  "peerDependencies": {
20
20
  "@dative-gpi/bones-ui": "^1.0.0",
@@ -26,5 +26,5 @@
26
26
  "sass": "1.71.1",
27
27
  "sass-loader": "13.3.2"
28
28
  },
29
- "gitHead": "0ff354e450d124ae789dcca1d4e08d76b927ed22"
29
+ "gitHead": "3c68bcc5adea7b444e566b7363d680b64a7f6b21"
30
30
  }