@politicalwatch/tipi-uikit 1.6.8 → 1.6.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@politicalwatch/tipi-uikit",
3
- "version": "1.6.8",
3
+ "version": "1.6.9",
4
4
  "main": "src/components/index.js",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -187,7 +187,9 @@ export default {
187
187
  // } else {
188
188
  // svg = defineAsyncComponent(() => import('../../assets/svg/icon-error.svg'));
189
189
  // }
190
- return (this.party in this.parties) ? this.icons[`${this.parties[this.party].logo}.svg`] : defineAsyncComponent(() => import('../../assets/svg/icon-error.svg')):
190
+ return this.party in this.parties
191
+ ? this.icons[`${this.parties[this.party].logo}.svg`]
192
+ : defineAsyncComponent(() => import('../../assets/svg/icon-error.svg'));
191
193
  },
192
194
  getBackground: function () {
193
195
  const bg = this.parties[this.party]?.color ? this.parties[this.party].color : '#f4f6f8';