Et2VfsMime: Add value getter

Fixes tracker comments with more than one image would only show the last
This commit is contained in:
nathan 2023-01-17 08:37:24 -07:00
parent 0640ddd984
commit a5929388fc

View File

@ -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) 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() get src()
{ {
return super.src; return super.src;