Skip to content

Commit ab66c42

Browse files
committed
fix plugins route
1 parent 112ef16 commit ab66c42

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/plugins/components/plugins.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ export default function Plugin() {
142142
console.log(data);
143143
SET_INSTALLED_PLUGIN_DATA(data);
144144
if (current_tab() === 0) {
145-
if ((Object.keys(SEARCH_IN_PLUGIN_DATA()).length === 0) || (Object.keys(SEARCH_IN_PLUGIN_DATA()).length !== Object.keys(INSTALLED_PLUGIN_DATA()).length)) {
145+
if (
146+
(Object.keys(SEARCH_IN_PLUGIN_DATA()).length === 0) ||
147+
(Object.keys(SEARCH_IN_PLUGIN_DATA()).length !== Object.keys(INSTALLED_PLUGIN_DATA()).length)
148+
) {
146149
request_search_in_plugin()
147150
}else{
148151
set_is_loading(false);

0 commit comments

Comments
 (0)