ebt-vue3 2.25.72 → 2.26.2
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 +2 -2
- package/scripts/channel.mjs +4 -0
- package/src/ebt-markdown.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ebt-vue3",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.26.2",
|
|
4
4
|
"description": "Vue3 Library for SuttaCentral Voice EBT-Sites",
|
|
5
5
|
"author": "Karl Lew",
|
|
6
6
|
"scripts": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"merkle-json": "^2.10.0",
|
|
38
38
|
"pinia": "^2.0.16",
|
|
39
39
|
"roboto-fontface": "*",
|
|
40
|
-
"scv-esm": "^1.115.
|
|
40
|
+
"scv-esm": "^1.115.320",
|
|
41
41
|
"serve-favicon": "^2.5.0",
|
|
42
42
|
"uuid": "^9.0.0",
|
|
43
43
|
"vite-plugin-vuetify": "^2.0.3",
|
package/scripts/channel.mjs
CHANGED
|
@@ -108,6 +108,10 @@ export default class Channel {
|
|
|
108
108
|
}
|
|
109
109
|
let lastCategory = "lastCategory";
|
|
110
110
|
let htmlKids = kids.reduce((a,kid,i)=>{
|
|
111
|
+
if (kid.metadata == null) {
|
|
112
|
+
console.log('channel.mjs@112: kid?', kid);
|
|
113
|
+
return a;
|
|
114
|
+
}
|
|
111
115
|
let {
|
|
112
116
|
title,
|
|
113
117
|
img,
|
package/src/ebt-markdown.mjs
CHANGED
|
@@ -29,7 +29,7 @@ export default class EbtMarkdown {
|
|
|
29
29
|
static get HTML_HEAD() { return HTML_HEAD; }
|
|
30
30
|
static get HTML_TAIL() { return HTML_TAIL; }
|
|
31
31
|
|
|
32
|
-
static compareMetadata(a,b) {
|
|
32
|
+
static compareMetadata(a={},b={}) {
|
|
33
33
|
let acategory = a.category || '';
|
|
34
34
|
let bcategory = b.category || '';
|
|
35
35
|
let cmp = acategory.localeCompare(bcategory);
|