Truncate with three dots

This commit is contained in:
Bajszi 2023-09-12 17:03:57 +02:00
parent f997d3e0bb
commit f4deb13301
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
return $splitName[0];
}
return mb_substr($this->name, 0, $chars) . '..';
return mb_substr($this->name, 0, $chars-3) . '…';
}
/**