Merge pull request #25624 from nextcloud/backport/25612/stable21
[stable21] Make new result parts optional
This commit is contained in:
commit
efa1ef5d69
|
@ -115,10 +115,10 @@ class AutoCompleteController extends Controller {
|
||||||
$output[] = [
|
$output[] = [
|
||||||
'id' => (string) $result['value']['shareWith'],
|
'id' => (string) $result['value']['shareWith'],
|
||||||
'label' => $result['label'],
|
'label' => $result['label'],
|
||||||
'icon' => $result['icon'],
|
'icon' => $result['icon'] ?? '',
|
||||||
'source' => $type,
|
'source' => $type,
|
||||||
'status' => $result['status'],
|
'status' => $result['status'] ?? '',
|
||||||
'subline' => $result['subline']
|
'subline' => $result['subline'] ?? '',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue