@asd20/ui 3.2.614 → 3.2.615

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.614",
8
+ "version": "3.2.615",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -72,7 +72,7 @@
72
72
  :events="events"
73
73
  :events-feed-props="eventsFeedProps"
74
74
  @events-in-view="$emit('events-in-view')"
75
- :stories="stories.filter(s => s.categories.some(c => !c.includes('Clubs:')))"
75
+ :stories="clubs"
76
76
  :stories-feed-props="storiesFeedProps"
77
77
  @stories-in-view="$emit('stories-in-view')"
78
78
  ></asd20-feeds-section>
@@ -343,6 +343,10 @@ export default {
343
343
  // link: c.link.replace('/stories', '/announcements'),
344
344
  // }))
345
345
  },
346
+ clubs() {
347
+ if (!Array.isArray(this.stories)) return []
348
+ return this.stories.filter(s => !s.categories.some(c => c.includes('Clubs:')))
349
+ },
346
350
  // categoryOptions() {
347
351
  // // get a unique array of categories with duplicates removed
348
352
  // return [