Skip to content

Commit

Permalink
feat: 8331 테이블 언어구분없이 모두 로딩
Browse files Browse the repository at this point in the history
  • Loading branch information
Tnks2U committed May 28, 2024
1 parent aee38bf commit dfc273c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/renderer/helper/entry/entryModalHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,17 +411,9 @@ class EntryModalHelper {
type: 'table',
})) as DBTableObject[];
EntryModalHelper.fetchPopup(allFetchedData);
let langType = RendererUtils.getLangType();
if (langType === 'jp') {
langType = 'ja';
}

const langFilteredData = allFetchedData.filter(
(element) => element.lang === langType
);

EntryModalHelper.popup.setData({
data: { data: langFilteredData },
data: { data: allFetchedData },
});
},
search: ({ searchQuery }: { searchQuery: string }) => {
Expand Down

0 comments on commit dfc273c

Please sign in to comment.