Skip to content

Commit f656143

Browse files
authored
Merge pull request #29 from lowcoding/feat/v1.8.5
✨ feat: 优化交互
2 parents 1da8307 + d0232b1 commit f656143

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "lowcode",
44
"description": "lowcode tool, support ChatGPT and other LLM",
55
"author": "wjkang <[email protected]>",
6-
"version": "1.8.4",
6+
"version": "1.8.5",
77
"icon": "asset/icon.png",
88
"publisher": "wjkang",
99
"repository": "https://github.com/lowcoding/lowcode-vscode",

webview-react/src/pages/blocks/List/service.ts

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,6 @@ export default class Service {
5858
this.model.setOriMaterials(list);
5959
this.model.setSelectedCategory([]);
6060
this.model.setCategoryList(categoryList);
61-
if (list.some((s) => s.privateMaterials)) {
62-
const notPrivate = list.find((s) => !s.privateMaterials);
63-
if (notPrivate) {
64-
setTimeout(() => {
65-
const projectName = notPrivate.name;
66-
this.model.setSearchValue(projectName);
67-
this.search();
68-
}, 1000);
69-
} else {
70-
this.model.setMaterials(list);
71-
}
72-
} else {
73-
this.model.setMaterials(list);
74-
}
61+
this.model.setMaterials(list);
7562
}
7663
}

0 commit comments

Comments
 (0)