stan updates

This commit is contained in:
2025-03-12 11:12:57 +05:00
parent 3b83acf39c
commit b9b2ef7c2c
8 changed files with 39 additions and 4 deletions

View File

@@ -37,7 +37,15 @@ class User extends Resource
*/
public function title(): string
{
return $this->username.sprintf(' (%s)', $this->phone);
return $this->name.sprintf(' (%s)', $this->username);
}
/**
* Get the search result subtitle for the resource.
*/
public function subtitle(): string
{
return $this->phone ?: '-';
}
/**