Skip to content

Commit 60b863a

Browse files
author
manasa
committed
Fixed the Localization issues
1 parent 175d366 commit 60b863a

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/angular-sdk-components/src/lib/_components/infra/reference/reference.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ export class ReferenceComponent {
7171
pageReference: context && context.startsWith('@CLASS') ? '' : context
7272
});
7373

74+
if (referenceConfig.inheritedProps && referenceConfig.inheritedProps.length > 0) {
75+
const inheritedProps = inPConn.getInheritedProps();
76+
referenceConfig.inheritedProps = Object.keys(inheritedProps).map(prop => ({ prop, value: inheritedProps[prop] }));
77+
}
78+
7479
// Get the PConnect object from the created component
7580
const newCompPConnect = viewComponent.getPConnect();
7681

packages/angular-sdk-components/src/lib/_components/template/list-view/list-view.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ export class ListViewComponent implements OnInit, OnDestroy {
516516
const arReturn = arFields;
517517
arReturn.forEach((field, i) => {
518518
field.config = { ...field.config, ...fields[i], name: fields[i].id };
519+
field.config.label = PCore.getLocaleUtils().getLocaleValue(field.config.label, 'INSIGHTS');
519520
});
520521
return arReturn;
521522
}

packages/angular-sdk-components/src/lib/_components/widget/file-utility/file-utility.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
}
2525

2626
.psdk-modal-file-selector {
27-
border: 1px dashed var(--app-neutral-dark-color);
27+
border: 1px dashed var(--mat-sys-neutral-variant20);
2828
width: 100%;
2929
padding: 0.3rem;
3030
text-align: center;

0 commit comments

Comments
 (0)