routes/console.php: for card:list hide subject_type computed attribute.
This commit is contained in:
parent
17e091727f
commit
62807496d5
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ Artisan::command('card:list {--trashed}', function ($trashed) {
|
||||||
$cols[] = 'deleted_at';
|
$cols[] = 'deleted_at';
|
||||||
$q->onlyTrashed();
|
$q->onlyTrashed();
|
||||||
}
|
}
|
||||||
$data = $q->select($cols)->get()->makeHidden('subject');
|
$data = $q->select($cols)->get()->makeHidden(['subject', 'subject_type']);
|
||||||
$this->table($cols, $data);
|
$this->table($cols, $data);
|
||||||
})->purpose('list cards');
|
})->purpose('list cards');
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue