提交 f601ee83 编写于 作者: I isidor

debug: source should be regarded as not available if presentationHint === `deemphasize`

上级 f47b826f
......@@ -34,7 +34,7 @@ export class Source {
}
public get available() {
return this.raw.name !== UNKNOWN_SOURCE_LABEL;
return this.raw.name !== UNKNOWN_SOURCE_LABEL && this.presentationHint !== 'deemphasize';
}
public get inMemory() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册