@dative-gpi/foundation-core-components 1.0.128-fix-mobile-5 → 1.0.128-fix-mobile-7

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.
@@ -211,9 +211,8 @@
211
211
  </template>
212
212
 
213
213
  <script lang="ts">
214
- import type { PropType} from "vue";
214
+ import { computed, defineComponent, type PropType, watch } from "vue";
215
215
  import type { RouteLocation } from "vue-router";
216
- import { computed, defineComponent, watch } from "vue";
217
216
  import _ from "lodash";
218
217
 
219
218
  import type { AlertFilters, AlertInfos } from "@dative-gpi/foundation-core-domain/models";
@@ -285,7 +284,6 @@ export default defineComponent({
285
284
  const { getMany: getManyAlerts, entities: alerts, fetching : fetchingAlerts } = useAlerts();
286
285
  const { epochToShortTimeFormat } = useDateFormat();
287
286
 
288
-
289
287
  const criticityColor = (row: any) => {
290
288
  return AlertTools.criticityColor(row.criticity);
291
289
  };
@@ -304,14 +302,14 @@ export default defineComponent({
304
302
 
305
303
  watch(() => [props.alertFilters, props.notAcknowledged, props.hidePending], (next, previous) => {
306
304
  if (!_.isEqual(next, previous)) {
307
- if(props.notAcknowledged){
305
+ if (props.notAcknowledged) {
308
306
  getManyAlerts({
309
307
  ...props.alertFilters,
310
308
  acknowledged: false,
311
309
  statuses: [AlertStatus.Unresolved, AlertStatus.Triggered],
312
310
  });
313
311
  }
314
- else{
312
+ else {
315
313
  getManyAlerts({
316
314
  ...props.alertFilters,
317
315
  statuses: props.hidePending ?
@@ -322,7 +320,6 @@ export default defineComponent({
322
320
  }
323
321
  }, { immediate: true });
324
322
 
325
-
326
323
  return {
327
324
  fetchingAlerts,
328
325
  alertsOrdered,
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.128-fix-mobile-5",
4
+ "version": "1.0.128-fix-mobile-7",
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.128-fix-mobile-5",
14
- "@dative-gpi/foundation-core-services": "1.0.128-fix-mobile-5",
15
- "@dative-gpi/foundation-shared-components": "1.0.128-fix-mobile-5",
16
- "@dative-gpi/foundation-shared-domain": "1.0.128-fix-mobile-5",
17
- "@dative-gpi/foundation-shared-services": "1.0.128-fix-mobile-5"
13
+ "@dative-gpi/foundation-core-domain": "1.0.128-fix-mobile-7",
14
+ "@dative-gpi/foundation-core-services": "1.0.128-fix-mobile-7",
15
+ "@dative-gpi/foundation-shared-components": "1.0.128-fix-mobile-7",
16
+ "@dative-gpi/foundation-shared-domain": "1.0.128-fix-mobile-7",
17
+ "@dative-gpi/foundation-shared-services": "1.0.128-fix-mobile-7"
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": "3561f3ed887b467d9dd2f1a3d946926368f7cbeb"
29
+ "gitHead": "855a2889f46ff4da4245772624a6dc9a812c438f"
30
30
  }