@mjhls/mjh-framework 1.0.487 → 1.0.488

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.487
2
+ # mjh-framework v. 1.0.488
3
3
 
4
4
 
5
5
  > Foundation Framework
@@ -259,6 +259,7 @@ var EventsDeck = function EventsDeck(_ref) {
259
259
  var startDay = index$3.momentTimezone(start).tz(timezone).format();
260
260
  var endDay = index$3.momentTimezone(end).tz(timezone).format();
261
261
  var showEndTime = index$3.momentTimezone(startDay.split('T')[0]).isBefore(endDay.split('T')[0]) ? ' to ' + index$3.momentTimezone(end).tz(timezone).format('LLL zz') : null;
262
+ var isCompleted = row.status === 'Completed';
262
263
  return React__default.createElement(
263
264
  React__default.Fragment,
264
265
  { key: index },
@@ -282,6 +283,15 @@ var EventsDeck = function EventsDeck(_ref) {
282
283
  renderRegisterButton(_links)
283
284
  )
284
285
  ),
286
+ isCompleted && _links && React__default.createElement(
287
+ Row,
288
+ null,
289
+ React__default.createElement(
290
+ Col,
291
+ null,
292
+ renderLearnMoreButton(_links)
293
+ )
294
+ ),
285
295
  discussionTopic && React__default.createElement(
286
296
  Row,
287
297
  null,
@@ -254,6 +254,7 @@ var EventsDeck = function EventsDeck(_ref) {
254
254
  var startDay = momentTimezone(start).tz(timezone).format();
255
255
  var endDay = momentTimezone(end).tz(timezone).format();
256
256
  var showEndTime = momentTimezone(startDay.split('T')[0]).isBefore(endDay.split('T')[0]) ? ' to ' + momentTimezone(end).tz(timezone).format('LLL zz') : null;
257
+ var isCompleted = row.status === 'Completed';
257
258
  return React__default.createElement(
258
259
  React__default.Fragment,
259
260
  { key: index },
@@ -277,6 +278,15 @@ var EventsDeck = function EventsDeck(_ref) {
277
278
  renderRegisterButton(_links)
278
279
  )
279
280
  ),
281
+ isCompleted && _links && React__default.createElement(
282
+ Row,
283
+ null,
284
+ React__default.createElement(
285
+ Col,
286
+ null,
287
+ renderLearnMoreButton(_links)
288
+ )
289
+ ),
280
290
  discussionTopic && React__default.createElement(
281
291
  Row,
282
292
  null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.487",
3
+ "version": "1.0.488",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",