mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 01:29:04 +01:00
mimetype and remove revert.
This commit is contained in:
@@ -666,8 +666,8 @@ export class ExtHostNotebookOutputRenderer {
|
||||
}
|
||||
|
||||
matches(mimeType: string): boolean {
|
||||
if (this.filter.subTypes) {
|
||||
if (this.filter.subTypes.indexOf(mimeType) >= 0) {
|
||||
if (this.filter.mimeTypes) {
|
||||
if (this.filter.mimeTypes.indexOf(mimeType) >= 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user