Skip to content

Commit 59ecf97

Browse files
committed
fix custom extensions not being searchable
1 parent 6923a7b commit 59ecf97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/library/library.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,8 @@ class LibraryComponent extends React.Component {
255255
}
256256
createFilteredData () {
257257
const data = [].concat(
258-
this.state.data,
258+
this.custom_extensions,
259+
this.state.data
259260
);
260261

261262
const no_tags = this.state.selectedTags.length === 0;
@@ -292,7 +293,6 @@ class LibraryComponent extends React.Component {
292293
}
293294

294295
const fully_filtered = [].concat(
295-
this.custom_extensions,
296296
filtered.filter(item => (this.state.favorites.includes(item.extensionId))),
297297
filtered.filter(item => (!this.state.favorites.includes(item.extensionId)))
298298
).map(item => Object.assign(item, { custom: !!item.custom }));

0 commit comments

Comments
 (0)