Skip to content

Commit

Permalink
Merge 61b3069 into feature/remove-data-com-lwc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Oct 10, 2024
2 parents 71f1615 + 61b3069 commit 0ad8813
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.cardIcon {
--slds-c-icon-color-foreground: var(--foregroundColor);
--slds-c-icon-color-background: var(--backgroundColor);
--slds-c-icon-color-foreground-default: var(--foregroundColor);
--slds-c-avatar-initials-text-color-hover: var(--foregroundColor);
--slds-c-avatar-text-color-hover: var(--foregroundColor);
--slds-c-avatar-text-color: var(--foregroundColor);
}
8 changes: 4 additions & 4 deletions force-app/main/default/lwc/indicatorBundle/indicatorBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,21 +343,21 @@ export default class IndicatorBundle extends LightningElement {
//If no Icon Text is entered if the field is a Boolean then show the icon otherwise show the field value
...dataValue || dataValue === 0 ? {
...matchedExtension ? {
fTextShown: matchedExtension.TextValue ? matchedExtension.TextValue.toUpperCase().substring(0,3) : ''
fTextShown: matchedExtension.TextValue ? matchedExtension.TextValue.substring(0,3) : ''
} : {
...dataValue && item.TextValue ? {
fTextShown : item.TextValue.toUpperCase().substring(0,3)
fTextShown : item.TextValue.substring(0,3)
} : {
...item.EmptyStaticBehavior === 'Use Icon Only' ? {
fTextShown : ''
} : {
fTextShown : typeof(dataValue) === 'boolean' ? '' : String(dataValue).toUpperCase().substring(0,3)
fTextShown : typeof(dataValue) === 'boolean' ? '' : String(dataValue).substring(0,3)
}
}
}
} : {
...(dataValue === false || dataValue === null || dataValue === '') && item.DisplayFalse ? {
fTextShown : item.FalseTextValue ? item.FalseTextValue.toUpperCase().substring(0,3) : ''
fTextShown : item.FalseTextValue ? item.FalseTextValue.substring(0,3) : ''
} : {
fTextShown : ''
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
.indicatorIcon {
--slds-c-icon-color-foreground: var(--foregroundColor);
--slds-c-icon-color-background: var(--backgroundColor);
--slds-c-icon-color-foreground-default: var(--foregroundColor);
--slds-c-avatar-initials-text-color-hover: var(--foregroundColor);
--slds-c-avatar-text-color-hover: var(--foregroundColor);
--slds-c-avatar-text-color: var(--foregroundColor);
}

0 comments on commit 0ad8813

Please sign in to comment.