@uxland/primary-shell 7.6.0 → 7.6.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.
@@ -20,12 +20,10 @@ export declare const locales: {
20
20
  askExit: string;
21
21
  finalizeVisit: string;
22
22
  };
23
- clinicalMonitoring: {
24
- title: string;
25
- };
26
23
  errors: {
27
24
  session: string;
28
25
  invalidPatient: string;
26
+ exit: string;
29
27
  };
30
28
  header: {
31
29
  workCenter: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "7.6.0",
3
+ "version": "7.6.2",
4
4
  "description": "Primaria Shell",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://github.com/uxland/harmonix/tree/app#readme",
@@ -28,7 +28,7 @@ export class ExitShellHandler {
28
28
  disposeShell();
29
29
  this.emitClose(evt);
30
30
  } catch (error) {
31
- this.api.notificationService.error(error.message);
31
+ this.api.notificationService.error(translate("errors.exit"));
32
32
  this.emitClose(evt);
33
33
  }
34
34
  }
package/src/locales.ts CHANGED
@@ -38,12 +38,10 @@ export const locales = {
38
38
  askExit: "Atenció, vols sortir igualment?",
39
39
  finalizeVisit: "Finalitzar visita",
40
40
  },
41
- clinicalMonitoring: {
42
- title: "Seguiment clínic",
43
- },
44
41
  errors: {
45
42
  session: "Hi ha hagut un error amb la sessió. Siusplau, tanca i torna a obrir l'aplicació.",
46
43
  invalidPatient: "El pacient actual no és vàlid. Siusplau, tanca i torna a obrir l'aplicació.",
44
+ exit: "Hi ha hagut un error en sortir de l'ETC"
47
45
  },
48
46
  header: {
49
47
  workCenter: "Centre treball",