Skip to content

Commit

Permalink
fix: Marketplace apps installed as private showing as installed (#31514)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoevanp authored Jan 23, 2024
1 parent 1d81df0 commit da410ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/honest-gorillas-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/meteor": patch
---

Show marketplace apps installed as private in the right place (private tab)
6 changes: 5 additions & 1 deletion apps/meteor/client/providers/AppsProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ const AppsProvider: FC = ({ children }) => {
};

if (installedApp) {
installedApps.push(record);
if (installedApp.private) {
privateApps.push(record);
} else {
installedApps.push(record);
}
}

marketplaceApps.push(record);
Expand Down

0 comments on commit da410ef

Please sign in to comment.