@asd20/ui 3.2.616 → 3.2.617

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.616",
8
+ "version": "3.2.617",
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="clubs"
75
+ :stories="clubStories"
76
76
  :stories-feed-props="storiesFeedProps"
77
77
  @stories-in-view="$emit('stories-in-view')"
78
78
  ></asd20-feeds-section>
@@ -87,13 +87,7 @@
87
87
 
88
88
  <intersect @enter="$emit('stories-in-view')">
89
89
  <div class="article-digest">
90
- <h2 class="feed-title">
91
- {{
92
- storiesFeedProps && storiesFeedProps.title
93
- ? storiesFeedProps.title
94
- : 'Stories & Features'
95
- }}
96
- </h2>
90
+ <h2 class="feed-title">Current Clubs & Activities</h2>
97
91
  <div class="search-header">
98
92
  <asd20-search-field
99
93
  :value="keywords"
@@ -343,11 +337,11 @@ export default {
343
337
  // link: c.link.replace('/stories', '/announcements'),
344
338
  // }))
345
339
  },
346
- clubs() {
340
+ clubStories() {
347
341
  if (!Array.isArray(this.stories)) return []
348
- return this.stories.filter(
349
- s => !s.categories.some(c => c.includes('Clubs:'))
350
- )
342
+ return this.stories
343
+ .filter(s => !s.categories.some(c => c.includes('Clubs:')))
344
+ .slice(0, 10)
351
345
  },
352
346
  // categoryOptions() {
353
347
  // // get a unique array of categories with duplicates removed