@kksdev/ds-angular 1.2.3 → 1.2.4
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.
|
@@ -7269,6 +7269,9 @@ class DsAvatar {
|
|
|
7269
7269
|
}), ...(ngDevMode ? [{ debugName: "containerClasses" }] : []));
|
|
7270
7270
|
/** Couleur de fond auto-générée */
|
|
7271
7271
|
generatedBgColor = computed(() => {
|
|
7272
|
+
// Ne pas appliquer de couleur si une image est affichée
|
|
7273
|
+
if (this.showImage())
|
|
7274
|
+
return null;
|
|
7272
7275
|
if (!this.autoColor())
|
|
7273
7276
|
return null;
|
|
7274
7277
|
const initials = this.displayInitials();
|