mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Et2VfsMime: Add value getter
Fixes tracker comments with more than one image would only show the last
This commit is contained in:
parent
0640ddd984
commit
a5929388fc
@ -212,6 +212,18 @@ export class Et2VfsMime extends Et2ImageExpose
|
||||
this.symlink = typeof _value.mode !== "undefined" && ((_value.mode & et2_vfsMode.types.l) == et2_vfsMode.types.l)
|
||||
}
|
||||
|
||||
get value()
|
||||
{
|
||||
return {
|
||||
mime: this.mime,
|
||||
symlink: this.__symlink,
|
||||
href: this.href,
|
||||
path: this.href,
|
||||
download_url: this.__download_url ?? '',
|
||||
src: this.src
|
||||
}
|
||||
}
|
||||
|
||||
get src()
|
||||
{
|
||||
return super.src;
|
||||
|
Loading…
Reference in New Issue
Block a user