eionet2-dashboard 3.1.1 → 3.1.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.
package/CHANGELOG.md CHANGED
@@ -4,11 +4,13 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [3.1.1](https://github.com/eea/eionet2-dashboard/compare/3.1.0...3.1.1) - 13 December 2024
7
+ ### [3.1.2](https://github.com/eea/eionet2-dashboard/compare/3.1.1...3.1.2) - 16 December 2024
8
8
 
9
9
  #### :bug: Bug Fixes
10
10
 
11
- - fix: publications without date [Mihai Nicolae - [`db4854f`](https://github.com/eea/eionet2-dashboard/commit/db4854fd85daa83cbc9c2d03a294a36f0f99affb)]
11
+ - fix: missing config, small ui improvements [Mihai Nicolae - [`5667719`](https://github.com/eea/eionet2-dashboard/commit/5667719ebcc7e75743a4cb55e840268a37e6d391)]
12
+
13
+ ### [3.1.1](https://github.com/eea/eionet2-dashboard/compare/3.1.0...3.1.1) - 13 December 2024
12
14
 
13
15
  ## [3.1.0](https://github.com/eea/eionet2-dashboard/compare/2.0.0...3.1.0) - 11 December 2024
14
16
 
package/env/.env.Prod_EEA CHANGED
@@ -41,4 +41,5 @@ PROVISIONOUTPUT__SIMPLEAUTHOUTPUT__TEAMSFXPLUGINID=fx-resource-simple-auth
41
41
  PROVISIONOUTPUT__SIMPLEAUTHOUTPUT__ENDPOINT=https://eionet2dasprodf6d33esimpleauth.azurewebsites.net
42
42
  PROVISIONOUTPUT__SIMPLEAUTHOUTPUT__WEBAPPRESOURCEID=/subscriptions/2e921569-0c14-4082-ad47-bd65b64ec3d3/resourceGroups/eionet_user_management-Prod_EEA-rg/providers/Microsoft.Web/sites/eionet2dasprodf6d33esimpleAuth
43
43
  PROVISIONOUTPUT__FUNCTIONOUTPUT__TEAMSFXPLUGINID=fx-resource-function
44
- DOTNET_PATH=C:\Users\Hettich\.fx\bin\dotnet
44
+ REACT_APP_INSIGHTS_CONNECTION=InstrumentationKey=f2f3c765-c89d-4110-9ed5-5640e4786298;IngestionEndpoint=https://westeurope-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westeurope.livediagnostics.monitor.azure.com/;ApplicationId=66641215-8e6c-43fd-a976-4e86f7fc5450
45
+ DOTNET_PATH=C:\Users\Nils EEA\.fx\bin\dotnet
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eionet2-dashboard",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "scripts": {
@@ -22,4 +22,4 @@
22
22
  "@fluentui/react-teams": "^6.0.0",
23
23
  "@mui/material": "^5.5.0"
24
24
  }
25
- }
25
+ }
@@ -18,6 +18,7 @@ import { useConfiguration } from '../../data/hooks/useConfiguration';
18
18
  import { postParticipant } from '../../data/sharepointProvider';
19
19
  import { getUserByMail } from '../../data/provider';
20
20
  import { validateMandatoryField, validateName } from '../../data/validator';
21
+ import { HtmlBox } from '../HtmlBox';
21
22
  import validator from 'validator';
22
23
 
23
24
  export function EventExternalRegistration({ event, userInfo }) {
@@ -123,7 +124,7 @@ export function EventExternalRegistration({ event, userInfo }) {
123
124
  <CircularProgress color="primary" />
124
125
  </Backdrop>
125
126
  <Alert className="w95" sx={{ fontWeight: 'bold' }} severity="warning">
126
- {configuration?.NFPInvitationInfoMessage}
127
+ <HtmlBox html={configuration?.NFPInvitationInfoMessage}></HtmlBox>
127
128
  </Alert>
128
129
  <Box className="row w95">
129
130
  <TextField
@@ -197,11 +198,9 @@ export function EventExternalRegistration({ event, userInfo }) {
197
198
  </Box>
198
199
  )}
199
200
  {errorText && (
200
- <Box className="row w95">
201
- <Alert sx={{ fontWeight: 'bold' }} severity="warning" className="note-label warning">
202
- {errorText}
203
- </Alert>
204
- </Box>
201
+ <Alert className="w95" sx={{ fontWeight: 'bold' }} severity="error">
202
+ <HtmlBox html={errorText}></HtmlBox>
203
+ </Alert>
205
204
  )}
206
205
  <Box className="row w95" sx={{ marginTop: '1rem' }}>
207
206
  <Button
@@ -219,7 +218,7 @@ export function EventExternalRegistration({ event, userInfo }) {
219
218
  </Box>
220
219
  {successRegister && (
221
220
  <Alert className="w95" sx={{ fontWeight: 'bold' }} severity="info">
222
- {configuration?.NFPInvitationSuccessMessage}
221
+ <HtmlBox html={configuration?.NFPInvitationSuccessMessage}></HtmlBox>
223
222
  </Alert>
224
223
  )}
225
224
  </Box>