Skip to content

Commit

Permalink
cpde raaddit resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
MayankJha014 committed Mar 2, 2025
1 parent 469100d commit 65b4095
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/AddOn/core/AddOnStore/AddOnStore.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ describe('Testing AddOnStore Component', () => {
).map((plugin: InterfacePluginHelper) => plugin.id);

plugins = plugins.map((plugin: InterfacePluginHelper) => {
plugin.installed = (installIds || []).includes(plugin.id);
plugin.installed = installIds.includes(plugin.id);
return plugin;
});

Expand Down
2 changes: 1 addition & 1 deletion src/components/AddOn/core/AddOnStore/AddOnStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function addOnStore(): JSX.Element {
).map((plugin: InterfacePluginHelper) => plugin.id);

Check warning on line 49 in src/components/AddOn/core/AddOnStore/AddOnStore.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/AddOn/core/AddOnStore/AddOnStore.tsx#L49

Added line #L49 was not covered by tests

plugins = plugins.map((plugin: InterfacePluginHelper) => {
plugin.installed = (installIds || []).includes(plugin.id);
plugin.installed = installIds.includes(plugin.id);

Check warning on line 52 in src/components/AddOn/core/AddOnStore/AddOnStore.tsx

View check run for this annotation

Codecov / codecov/patch

src/components/AddOn/core/AddOnStore/AddOnStore.tsx#L52

Added line #L52 was not covered by tests
return plugin;
});

Expand Down

0 comments on commit 65b4095

Please sign in to comment.