@pronto-tools-and-more/components 14.14.0 → 14.15.0
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/dist/main.js +3 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -188,6 +188,9 @@ var getArticleListDataSource = ({
|
|
188
188
|
asContext
|
189
189
|
}) => {
|
190
190
|
if (contextId) {
|
191
|
+
if (!contextId.startsWith("$context.")) {
|
192
|
+
throw new Error(`context id must start with $context.`);
|
193
|
+
}
|
191
194
|
const dataSource2 = {
|
192
195
|
type: "context",
|
193
196
|
data: contextId,
|