We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 55-61 (lines=7) @@ | ||
| 52 | ], |
|
| 53 | ]); |
|
| 54 | ||
| 55 | if (config('backpack.base.authentication_column') !== 'email') { |
|
| 56 | $this->crud->addColumn([ |
|
| 57 | 'name' => config('backpack.base.authentication_column'), |
|
| 58 | 'type' => 'text', |
|
| 59 | 'label' => config('backpack.base.authentication_column_name'), |
|
| 60 | ])->afterColumn('name'); |
|
| 61 | } |
|
| 62 | ||
| 63 | // Role Filter |
|
| 64 | $this->crud->addFilter( |
|
| @@ 208-214 (lines=7) @@ | ||
| 205 | ], |
|
| 206 | ]); |
|
| 207 | ||
| 208 | if (config('backpack.base.authentication_column') !== 'email') { |
|
| 209 | $this->crud->addField([ |
|
| 210 | 'name' => config('backpack.base.authentication_column'), |
|
| 211 | 'type' => 'text', |
|
| 212 | 'label' => config('backpack.base.authentication_column_name'), |
|
| 213 | ])->afterField('name'); |
|
| 214 | } |
|
| 215 | } |
|
| 216 | } |
|
| 217 | ||