Make new result parts optional
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
69daa9e0a8
commit
219cc77719
|
@ -115,10 +115,10 @@ class AutoCompleteController extends Controller {
|
|||
$output[] = [
|
||||
'id' => (string) $result['value']['shareWith'],
|
||||
'label' => $result['label'],
|
||||
'icon' => $result['icon'],
|
||||
'icon' => $result['icon'] ?? '',
|
||||
'source' => $type,
|
||||
'status' => $result['status'],
|
||||
'subline' => $result['subline']
|
||||
'status' => $result['status'] ?? '',
|
||||
'subline' => $result['subline'] ?? '',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue