Truncate with three dots
This commit is contained in:
parent
f997d3e0bb
commit
f4deb13301
|
@ -345,7 +345,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
|
||||||
return $splitName[0];
|
return $splitName[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
return mb_substr($this->name, 0, $chars) . '..';
|
return mb_substr($this->name, 0, $chars-3) . '…';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue