@mjhls/mjh-framework 1.0.797 → 1.0.798
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/README.md +1 -1
- package/dist/cjs/View.js +1 -1
- package/dist/esm/View.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
# mjh-framework v. 1.0.
|
|
2
|
+
# mjh-framework v. 1.0.798
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/mjh-framework) [](https://standardjs.com)
|
package/dist/cjs/View.js
CHANGED
|
@@ -1719,7 +1719,7 @@ View.returnGetInitialProps = function () {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
|
|
1721
1721
|
_context.next = 11;
|
|
1722
|
-
return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && is_visible == true\n &&
|
|
1722
|
+
return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && is_visible == true\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published asc) {\n title,\n thumbnail,\n url,\n published\n }');
|
|
1723
1723
|
|
|
1724
1724
|
case 11:
|
|
1725
1725
|
sliderArticles = _context.sent;
|
package/dist/esm/View.js
CHANGED
|
@@ -1709,7 +1709,7 @@ View.returnGetInitialProps = function () {
|
|
|
1709
1709
|
}
|
|
1710
1710
|
|
|
1711
1711
|
_context.next = 11;
|
|
1712
|
-
return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && is_visible == true\n &&
|
|
1712
|
+
return client.fetch('*[!(_id in path("drafts.**")) \n && _type == "article"\n && defined(title)\n && references(\'' + article.documentGroup._id + '\')\n && is_visible == true\n && defined(published)\n && dateTime(published) <= dateTime(now())\n ] | order(published asc) {\n title,\n thumbnail,\n url,\n published\n }');
|
|
1713
1713
|
|
|
1714
1714
|
case 11:
|
|
1715
1715
|
sliderArticles = _context.sent;
|