Skip to content

Commit

Permalink
handle no type
Browse files Browse the repository at this point in the history
  • Loading branch information
kajoseph committed Apr 29, 2024
1 parent faef866 commit 640b940
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const matchProviderType = (provider?: IProvider, type?: string): boolean => {
return false;
}

if (!provider.dataType || provider.dataType === 'combined') {
if (!type || !provider.dataType || provider.dataType === 'combined') {
return true;
}
// ************ Type match chart ************************
Expand Down

0 comments on commit 640b940

Please sign in to comment.