impact to textcolumn

i have textcolumn
TextColumn::make('status'),
TextColumn::make('status'),
which gives me 1 or 2. i want to if its 1 show 'error' text if 2 show 'correct' its possible? becouse when i try to use second argument function its not works
2 Replies
Want results from more Discord servers?
Add your server