Skip to content

Commit

Permalink
fixed issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sijumoncy committed Apr 8, 2024
1 parent 0a949de commit a43bbd3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ function CustomMultiComboBox({
if (customData.length === 1) {
setSelectedList(customData[0]);
} else if (customData.length > 1) {
console.log('selectedList : ====> ', selectedList);
// eslint-disable-next-line no-nested-ternary
filteredData = (query === '')
? customData.slice(0, 100).concat(selectedList.filter((item) => customData.slice(0, 100).indexOf(item) === -1)) // showing initial 100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ function DownloadResourcePopUp({ selectResource, isOpenDonwloadPopUp, setIsOpenD
});
};

console.log({ selectedTypeFilter });

const fetchResource = async (filter) => {
logger.debug('DownloadResourcePopUp.js', 'fetching resource as per filter applied');
setLoading(true);
Expand Down Expand Up @@ -286,7 +284,6 @@ function DownloadResourcePopUp({ selectResource, isOpenDonwloadPopUp, setIsOpenD

useEffect(() => {
logger.debug('DownloadResourcePopUp.js', 'in useEffect initial load of resource');
console.log('calling use Effect =============');
setSelectedTypeFilter([]);
fetchResource(false);
// setLoading(true)
Expand Down

0 comments on commit a43bbd3

Please sign in to comment.