Skip to content

Commit d4645fd

Browse files
committed
improvements
1 parent 3f82970 commit d4645fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

web_src/js/features/comp/SearchRepoBox.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ export function initCompSearchRepoBox() {
1717
onResponse(response: any) {
1818
const items = [];
1919
for (const item of response.data) {
20-
let title = item.repository.full_name.split('/')[1];
2120
items.push({
22-
title,
21+
title: item.repository.full_name.split('/')[1],
2322
description: item.repository.full_name,
2423
});
2524
}

0 commit comments

Comments
 (0)