mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
WIP Et2VfsSelect - fix favorites
This commit is contained in:
parent
2539089d02
commit
e68215102c
@ -339,8 +339,8 @@ export class Et2VfsSelect extends Et2InputWidget(LitElement) implements SearchMi
|
||||
|
||||
processRemoteResults(results) : FileInfo[]
|
||||
{
|
||||
this.helpText = results.message ?? "";
|
||||
this._fileList = results.files ?? [];
|
||||
this.helpText = results?.message ?? "";
|
||||
this._fileList = results?.files ?? [];
|
||||
|
||||
return this._fileList;
|
||||
}
|
||||
|
@ -641,6 +641,7 @@ class Vfs extends File
|
||||
continue;
|
||||
}
|
||||
$name = $path['name'] ?? Api\Vfs::basename($path);
|
||||
$path = $path['path'] ?? $path;
|
||||
$is_dir = $path['isDir'] ?? Api\Vfs::is_dir($path);
|
||||
$mime = $path['mime'] ?? Api\Vfs::mime_content_type($path);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user