Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ export class ReferenceComponent {
pageReference: context && context.startsWith('@CLASS') ? '' : context
});

if (referenceConfig.inheritedProps && referenceConfig.inheritedProps.length > 0) {
const inheritedProps = inPConn.getInheritedProps();
referenceConfig.inheritedProps = Object.keys(inheritedProps).map(prop => ({ prop, value: inheritedProps[prop] }));
}

// Get the PConnect object from the created component
const newCompPConnect = viewComponent.getPConnect();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ interface ListViewProps {
displayAs?: string;
showRecords: boolean;
viewName?: string;
localeReference?: any;
}

export class Group {
Expand Down Expand Up @@ -516,6 +517,7 @@ export class ListViewComponent implements OnInit, OnDestroy {
const arReturn = arFields;
arReturn.forEach((field, i) => {
field.config = { ...field.config, ...fields[i], name: fields[i].id };
field.config.label = PCore.getLocaleUtils().getLocaleValue(field.config.label, this.configProps$.localeReference);
});
return arReturn;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

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