Skip to content

Commit

Permalink
IT-5861 fix border colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Ziółkowski authored and Piotr Ziółkowski committed Nov 27, 2024
1 parent 0f6f060 commit aa67277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ export default defineComponent({
};
},
borderColorClass() {
if (!this.borderColor || (this.borderColor && this.borderColorHex)) {
if (!this.borderColor || this.borderColorHex) {
return;
}
return `-ds-border-${this.borderColor}`;
},
borderColorStyle() {
if (!this.borderColor || !this.borderColorHex) {
if (!this.borderColorHex) {
return;
}
return {
Expand Down
4 changes: 2 additions & 2 deletions lib/js/components/RichList/RichListItem/RichListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -670,13 +670,13 @@ export default defineComponent({
};
},
borderColorClass() {
if (!this.borderColor || (this.borderColor && this.borderColorHex)) {
if (!this.borderColor || this.borderColorHex) {
return;
}
return `-ds-border-${this.borderColor}`;
},
borderColorStyle() {
if (!this.borderColor && !this.borderColorHex) {
if (!this.borderColorHex) {
return;
}
return {
Expand Down

0 comments on commit aa67277

Please sign in to comment.