@asd20/ui 3.2.938 → 3.2.939

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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.938",
8
+ "version": "3.2.939",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -324,14 +324,19 @@ export default {
324
324
  cards() {
325
325
  if (!Array.isArray(this.stories)) return []
326
326
  return this.stories.map(s =>
327
- mapMessageToCard(s, {
328
- // reversed: true,
329
- date: '',
330
- time: '',
331
- description: '',
332
- // image: '',
333
- // pinned: false,
334
- })
327
+ mapMessageToCard(
328
+ s,
329
+ {
330
+ // reversed: true,
331
+ date: '',
332
+ time: '',
333
+ description: '',
334
+ // image: '',
335
+ // pinned: false,
336
+ },
337
+ this.organization,
338
+ this.organizationOptions
339
+ )
335
340
  )
336
341
  },
337
342
  categoryOptions() {
@@ -236,11 +236,13 @@
236
236
  /></asd20-widgets-section>
237
237
 
238
238
  <!-- Feeds -->
239
- <asd20-feeds-section
239
+ <!-- <asd20-feeds-section
240
240
  :announcements="announcements"
241
241
  :announcements-feed-props="announcementsFeedProps"
242
242
  @announcements-in-view="$emit('announcements-in-view')"
243
- ></asd20-feeds-section>
243
+ :organization="organization"
244
+ :organization-options="organizationOptions"
245
+ ></asd20-feeds-section> -->
244
246
 
245
247
  <!-- Quick Links -->
246
248
  <asd20-quicklinks-menu slot="before-footer" :quick-links="quickLinks">
@@ -325,14 +327,19 @@ export default {
325
327
  cards() {
326
328
  if (!Array.isArray(this.stories)) return []
327
329
  return this.stories.map(s =>
328
- mapMessageToCard(s, {
329
- // reversed: true,
330
- // date: '',
331
- time: '',
332
- // description: '',
333
- // image: '',
334
- // pinned: false,
335
- })
330
+ mapMessageToCard(
331
+ s,
332
+ {
333
+ // reversed: true,
334
+ // date: '',
335
+ time: '',
336
+ // description: '',
337
+ // image: '',
338
+ // pinned: false,
339
+ },
340
+ this.organization,
341
+ this.organizationOptions
342
+ )
336
343
  )
337
344
 
338
345
  // .sort((a, b) => (a.title > b.title ? 1 : b.title > a.title ? -1 : 0))
@@ -342,11 +342,16 @@ export default {
342
342
  cards() {
343
343
  if (!Array.isArray(this.announcements)) return []
344
344
  return this.announcements.map(a =>
345
- mapMessageToCard(a, {
346
- reversed: false,
347
- time: '',
348
- image: '',
349
- })
345
+ mapMessageToCard(
346
+ a,
347
+ {
348
+ reversed: false,
349
+ time: '',
350
+ image: '',
351
+ },
352
+ this.organization,
353
+ this.organizationOptions
354
+ )
350
355
  )
351
356
  },
352
357
  categoryOptions() {
@@ -107,6 +107,8 @@
107
107
  :events="events"
108
108
  :events-feed-props="eventsFeedProps"
109
109
  @events-in-view="$emit('events-in-view')"
110
+ :organization="organization"
111
+ :organization-options="organizationOptions"
110
112
  ></asd20-feeds-section>
111
113
 
112
114
  <!-- Bottom Widgets -->
@@ -322,14 +322,19 @@ export default {
322
322
  return this.stories
323
323
  .filter(s => s.categories.some(c => c.includes('Clubs:')))
324
324
  .map(s =>
325
- mapMessageToCard(s, {
326
- // reversed: true,
327
- date: '',
328
- time: '',
329
- // description: '',
330
- image: '',
331
- pinned: false,
332
- })
325
+ mapMessageToCard(
326
+ s,
327
+ {
328
+ // reversed: true,
329
+ date: '',
330
+ time: '',
331
+ // description: '',
332
+ image: '',
333
+ pinned: false,
334
+ },
335
+ this.organization,
336
+ this.organizationOptions
337
+ )
333
338
  )
334
339
  .sort((a, b) => (a.title > b.title ? 1 : b.title > a.title ? -1 : 0))
335
340
  // .map(c => ({