@openeventkit/event-site 2.0.36 → 2.0.37
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
|
@@ -32,6 +32,7 @@ const AuthComponent = ({
|
|
|
32
32
|
userProfile,
|
|
33
33
|
eventRedirect,
|
|
34
34
|
location,
|
|
35
|
+
ignoreAutoOpen,
|
|
35
36
|
style = {},
|
|
36
37
|
renderLoginButton = null,
|
|
37
38
|
renderEnterButton = null
|
|
@@ -50,8 +51,10 @@ const AuthComponent = ({
|
|
|
50
51
|
|
|
51
52
|
useEffect(() => {
|
|
52
53
|
const fragmentParser = new FragmentParser();
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
if(!ignoreAutoOpen) {
|
|
55
|
+
// to show the login dialog check if we are already logged or not
|
|
56
|
+
setIsActive(fragmentParser.getParam('login') && !isLoggedUser);
|
|
57
|
+
}
|
|
55
58
|
const paramInitialEmailValue = fragmentParser.getParam('email');
|
|
56
59
|
if (paramInitialEmailValue)
|
|
57
60
|
setInitialEmailValue(paramInitialEmailValue);
|
|
@@ -227,6 +230,11 @@ export default connect(mapStateToProps, {
|
|
|
227
230
|
checkOrderData
|
|
228
231
|
})(AuthComponent)
|
|
229
232
|
|
|
233
|
+
AuthComponent.defaultProps = {
|
|
234
|
+
ignoreAutoOpen: false,
|
|
235
|
+
}
|
|
236
|
+
|
|
230
237
|
AuthComponent.propTypes = {
|
|
231
238
|
location: PropTypes.object.isRequired,
|
|
232
|
-
|
|
239
|
+
ignoreAutoOpen: PropTypes.bool,
|
|
240
|
+
}
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"widgets": {
|
|
3
|
-
"chat": {
|
|
4
|
-
"showQA": false,
|
|
5
|
-
"showHelp": false,
|
|
6
|
-
"defaultScope": "page"
|
|
7
|
-
},
|
|
8
|
-
"schedule": {
|
|
9
|
-
"allowClick": true
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"favicons": {
|
|
13
|
-
"favicon180": "/img/favicon.png",
|
|
14
|
-
"favicon32": "/img/favicon.png",
|
|
15
|
-
"favicon16": "/img/favicon.png"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
{"widgets":{"chat":{"showQA":false,"showHelp":false,"defaultScope":"page"},"schedule":{"allowClick":true}},"favicons":{"favicon180":"/img/favicon.png","favicon32":"/img/favicon.png","favicon16":"/img/favicon.png"},"staticJsonFilesBuildTime":[{"file":"src/data/summit.json","build_time":1692386447666},{"file":"src/data/events.json","build_time":1692386451064},{"file":"src/data/events.idx.json","build_time":1692386451066},{"file":"src/data/speakers.json","build_time":1692386451884},{"file":"src/data/speakers.idx.json","build_time":1692386451884},{"file":"src/content/sponsors.json","build_time":1692386455106},{"file":"src/data/voteable-presentations.json","build_time":1692386457214}],"lastBuild":1692386457215}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"id":228,"created":1691602669,"last_edited":1691602669,"order":1,"summit_id":49,"is_published":false,"side_image":null,"header_image":null,"header_image_mobile":null,"carousel_advertise_image":null,"marquee":"","intro":"","external_link":"","video_link":"","chat_link":"","featured_event_id":0,"header_image_alt_text":"","side_image_alt_text":"","header_image_mobile_alt_text":"","carousel_advertise_image_alt_text":"","show_logo_in_event_page":true,"members":[90654],"company":{"id":3,"created":1580138376,"last_edited":1580138376,"name":"Tipit , LLC","url":null,"display_on_site":false,"featured":false,"city":null,"state":null,"country":null,"description":null,"industry":null,"contributions":null,"contact_email":null,"member_level":"None","admin_email":null,"overview":null,"products":null,"commitment":null,"commitment_author":null,"logo":null,"big_logo":null,"color":"#f0f0ee","sponsorships":[616],"project_sponsorships":[]},"sponsorship":{"id":2048,"widget_title":"","lobby_template":null,"expo_hall_template":null,"sponsor_page_template":null,"event_page_template":null,"sponsor_page_use_disqus_widget":false,"sponsor_page_use_live_event_widget":false,"sponsor_page_use_schedule_widget":false,"sponsor_page_use_banner_widget":false,"badge_image":null,"badge_image_alt_text":"","summit_id":49,"order":1,"should_display_on_expo_hall_page":false,"should_display_on_lobby_page":false,"type":{"id":3,"created":1579890943,"last_edited":1579890943,"name":"Gold","label":"not sure??","order":3,"size":"Medium"}},"ads":[],"materials":[],"social_networks":[]}]
|