fix: do not write out label twice if the same for source and extractor
This commit is contained in:
parent
fcced2e122
commit
60530343b4
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ export class StreamResolver {
|
|||
titleDetailsLine.push(`💾 ${bytes.format(urlResult.meta.bytes, { unitSeparator: ' ' })}`);
|
||||
}
|
||||
const sourceLabel = urlResult.meta?.sourceLabel;
|
||||
if (sourceLabel) {
|
||||
if (sourceLabel && sourceLabel !== urlResult.label) {
|
||||
titleDetailsLine.push(`🔗 ${urlResult.label} from ${urlResult.meta?.sourceLabel}`);
|
||||
} else {
|
||||
titleDetailsLine.push(`🔗 ${urlResult.label}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue