提交 8ef9c4b5 编写于 作者: M Matt Bierner

Don't reload release notes when clicking on tab

Fixes #15214

**bug**
release notes reloaded when clicking on the tab again

**Fix**
Like with the html preview, only reload contents of the release notes view if the contents are actually different
上级 e4b55865
......@@ -58,6 +58,10 @@ export class ReleaseNotesEditor extends BaseEditor {
}
setInput(input: ReleaseNotesInput, options: EditorOptions): TPromise<void> {
if (this.input && this.input.matches(input)) {
return TPromise.as(undefined);
}
const { text } = input;
this.contentDisposables = dispose(this.contentDisposables);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册