提交 a31dcc38 编写于 作者: R Rob Lourens

Fix #72173 - settings not shown after clearing setting search query

上级 9daf8a69
......@@ -1219,11 +1219,14 @@ export class SettingsEditor2 extends BaseEditor {
}
private renderResultCountMessages() {
if (!this.currentSettingsModel || !this.searchResultModel) {
this.countElement.style.display = 'none';
if (!this.currentSettingsModel) {
return;
}
if (!this.searchResultModel) {
this.countElement.style.display = 'none';
}
if (this.tocTreeModel && this.tocTreeModel.settingsTreeRoot) {
const count = this.tocTreeModel.settingsTreeRoot.count;
switch (count) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册