@politicalwatch/tipi-uikit 1.6.9 → 1.6.11
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,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="c-party_logo_icon" :style="getBackground">
|
|
3
3
|
<figure class="c-party_logo_icon__image" :alt="'Logo de ' + getName">
|
|
4
|
-
<
|
|
4
|
+
<i v-html="svg" />
|
|
5
5
|
</figure>
|
|
6
6
|
</div>
|
|
7
7
|
</template>
|
|
@@ -189,7 +189,7 @@ export default {
|
|
|
189
189
|
// }
|
|
190
190
|
return this.party in this.parties
|
|
191
191
|
? this.icons[`${this.parties[this.party].logo}.svg`]
|
|
192
|
-
:
|
|
192
|
+
: this.icons['party-error.svg'];
|
|
193
193
|
},
|
|
194
194
|
getBackground: function () {
|
|
195
195
|
const bg = this.parties[this.party]?.color ? this.parties[this.party].color : '#f4f6f8';
|