@pega/dx-component-builder-sdk 24.1.11 → 24.1.13
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 +1 -1
- package/src/tasks/authenticate/index.js +1 -1
- package/src/tasks/create/templates/SDK-React/widget/PAGE/index.tsx.mustache +1 -1
- package/src/tasks/publish/helper.js +1 -1
- package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx +1 -1
package/package.json
CHANGED
|
@@ -73,7 +73,7 @@ export default function {{COMPONENT_CLASS_NAME}}(props: {{COMPONENT_CLASS_NAME}}
|
|
|
73
73
|
const [waitingForData, setWaitingForData] = useState<boolean>(true);
|
|
74
74
|
const thePConn = getPConnect();
|
|
75
75
|
const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly
|
|
76
|
-
const dataViewName = '
|
|
76
|
+
const dataViewName = 'D_pyMyWorkList';
|
|
77
77
|
const context = thePConn.getContextName();
|
|
78
78
|
|
|
79
79
|
const rowData: any = useRef([]);
|
|
@@ -228,7 +228,7 @@ export const publishComponentToServer = async (data, doFetch = true) => {
|
|
|
228
228
|
|
|
229
229
|
const configContentObj = JSON.parse(configContent);
|
|
230
230
|
|
|
231
|
-
if (configContentObj.type
|
|
231
|
+
if (!configContentObj.type) {
|
|
232
232
|
console.log(chalk.bold.yellow(`No config-ext to publish for ${componentKey}`));
|
|
233
233
|
return;
|
|
234
234
|
}
|
package/tests/assets/sdk-r/components/createAll/custom-sdk/widget/Pega_DXIL_MyPageWidget/index.tsx
CHANGED
|
@@ -73,7 +73,7 @@ export default function PegaDxilMyPageWidget(props: PegaDxilMyPageWidgetProps) {
|
|
|
73
73
|
const [waitingForData, setWaitingForData] = useState<boolean>(true);
|
|
74
74
|
const thePConn = getPConnect();
|
|
75
75
|
const caseID = thePConn.getValue(PCore.getConstants().CASE_INFO.CASE_INFO_ID, ''); // 2nd arg empty string until typedef marked correctly
|
|
76
|
-
const dataViewName = '
|
|
76
|
+
const dataViewName = 'D_pyMyWorkList';
|
|
77
77
|
const context = thePConn.getContextName();
|
|
78
78
|
|
|
79
79
|
const rowData: any = useRef([]);
|