Use the correct full path in tooltips
This commit is contained in:
parent
856044c88c
commit
9d313f319d
@ -191,6 +191,7 @@ export class BaseDownload {
|
||||
rv.destPath = dest.path;
|
||||
rv.destFull = dest.full;
|
||||
rv.currentName = this.browserName || rv.destName || rv.finalName;
|
||||
rv.currentFull = `${dest.path}/${rv.currentName}`;
|
||||
rv.error = this.error;
|
||||
rv.ext = this.renamer.p_ext;
|
||||
rv.retries = this.retries;
|
||||
|
@ -122,6 +122,8 @@ export class DownloadItem extends EventEmitter {
|
||||
|
||||
public currentName: string;
|
||||
|
||||
public currentFull: string;
|
||||
|
||||
public ext?: string;
|
||||
|
||||
public position: number;
|
||||
|
@ -182,7 +182,7 @@ export class Tooltip {
|
||||
}
|
||||
const icon = item.largeIcon;
|
||||
this.icon.className = icon;
|
||||
this.name.textContent = item.destFull;
|
||||
this.name.textContent = item.currentFull;
|
||||
this.from.textContent = item.usable;
|
||||
this.size.textContent = item.fmtSize;
|
||||
this.date.textContent = new Date(item.startDate).toLocaleString();
|
||||
|
Loading…
x
Reference in New Issue
Block a user