@asd20/ui 3.2.380 → 3.2.381
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
|
@@ -172,12 +172,16 @@
|
|
|
172
172
|
<asd20-list
|
|
173
173
|
v-if="organization.awardsHonors.length > 0"
|
|
174
174
|
:items="
|
|
175
|
-
organization.awardsHonors
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
organization.awardsHonors
|
|
176
|
+
.map(a => ({
|
|
177
|
+
label: a,
|
|
178
|
+
alignTop: true,
|
|
179
|
+
checked: true,
|
|
180
|
+
condensed: true,
|
|
181
|
+
}))
|
|
182
|
+
.sort((a, b) =>
|
|
183
|
+
a.label > b.label ? 1 : b.label > a.label ? -1 : 0
|
|
184
|
+
)
|
|
181
185
|
"
|
|
182
186
|
class="asd20-school-details__awards-honors"
|
|
183
187
|
icon="award"
|
|
@@ -187,12 +191,16 @@
|
|
|
187
191
|
<asd20-list
|
|
188
192
|
v-if="organization.uniqueOfferings.length > 0"
|
|
189
193
|
:items="
|
|
190
|
-
organization.uniqueOfferings
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
organization.uniqueOfferings
|
|
195
|
+
.map(u => ({
|
|
196
|
+
label: u,
|
|
197
|
+
alignTop: true,
|
|
198
|
+
checked: true,
|
|
199
|
+
condensed: true,
|
|
200
|
+
}))
|
|
201
|
+
.sort((a, b) =>
|
|
202
|
+
a.label > b.label ? 1 : b.label > a.label ? -1 : 0
|
|
203
|
+
)
|
|
196
204
|
"
|
|
197
205
|
class="asd20-school-details__unique-offerings"
|
|
198
206
|
headline="Unique Offerings"
|
|
@@ -374,7 +382,6 @@ export default {
|
|
|
374
382
|
.map(oc => oc.category.title)
|
|
375
383
|
.includes('Academics')
|
|
376
384
|
)
|
|
377
|
-
|
|
378
385
|
.map(a => ({
|
|
379
386
|
label: a.offering.title,
|
|
380
387
|
description: a.offering.description,
|
|
@@ -383,13 +390,13 @@ export default {
|
|
|
383
390
|
condensed: true,
|
|
384
391
|
checked: true,
|
|
385
392
|
}))
|
|
393
|
+
.sort((a, b) => (a.label > b.label ? 1 : b.label > a.label ? -1 : 0))
|
|
386
394
|
},
|
|
387
395
|
artsListItems() {
|
|
388
396
|
return this.organization.offerings
|
|
389
397
|
.filter(o =>
|
|
390
398
|
o.offering.categories.map(oc => oc.category.title).includes('Arts')
|
|
391
399
|
)
|
|
392
|
-
|
|
393
400
|
.map(a => ({
|
|
394
401
|
label: a.offering.title,
|
|
395
402
|
alignTop: true,
|
|
@@ -397,6 +404,7 @@ export default {
|
|
|
397
404
|
condensed: true,
|
|
398
405
|
checked: true,
|
|
399
406
|
}))
|
|
407
|
+
.sort((a, b) => (a.label > b.label ? 1 : b.label > a.label ? -1 : 0))
|
|
400
408
|
},
|
|
401
409
|
athleticsListItems() {
|
|
402
410
|
return this.organization.offerings
|
|
@@ -412,6 +420,7 @@ export default {
|
|
|
412
420
|
condensed: true,
|
|
413
421
|
checked: true,
|
|
414
422
|
}))
|
|
423
|
+
.sort((a, b) => (a.label > b.label ? 1 : b.label > a.label ? -1 : 0))
|
|
415
424
|
},
|
|
416
425
|
},
|
|
417
426
|
}
|