fix : #27 gestion des typo
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
@if (user() !== undefined) {
|
||||
<a
|
||||
[routerLink]="[user().username ? user().username : user().id]"
|
||||
[state]="{ user: user(), profile }"
|
||||
class="block group"
|
||||
>
|
||||
<a [routerLink]="[user().slug]" [state]="{ user: user(), profile }" class="block group">
|
||||
<!-- Card du profil -->
|
||||
<div
|
||||
class="relative bg-white dark:bg-gray-800 rounded-xl shadow-lg overflow-hidden transition-all duration-300 hover:shadow-2xl hover:-translate-y-2"
|
||||
@@ -56,7 +52,7 @@
|
||||
<h3
|
||||
class="text-lg font-bold text-gray-900 dark:text-white mb-2 group-hover:text-indigo-600 dark:group-hover:text-indigo-400 transition-colors"
|
||||
>
|
||||
{{ user().name }}
|
||||
{{ user().firstName }} {{ user().lastName }}
|
||||
</h3>
|
||||
} @else if (user().username) {
|
||||
<h3
|
||||
|
||||
Reference in New Issue
Block a user