[admin] fix user link

This commit is contained in:
xiaomlove
2022-10-07 02:51:52 +08:00
parent 00fc2293cd
commit 9865fed808
6 changed files with 6 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ class UsernameChangeLogResource extends Resource
Tables\Columns\TextColumn::make('username_new')
->searchable()
->label(__('username-change-log.labels.username_new'))
->formatStateUsing(fn ($record) => new HtmlString(get_username($record->id, false, true, true, true)))
->formatStateUsing(fn ($record) => new HtmlString(get_username($record->uid, false, true, true, true)))
,
Tables\Columns\TextColumn::make('operator')
->searchable()