From 142f1f4224dbf0f300c12893d270690d6979a8f4 Mon Sep 17 00:00:00 2001 From: Douglas Gubert Date: Tue, 12 Sep 2023 11:39:10 -0300 Subject: [PATCH 1/2] Fix import of function that shows error toast --- apps/meteor/client/views/marketplace/AppInstallPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/meteor/client/views/marketplace/AppInstallPage.js b/apps/meteor/client/views/marketplace/AppInstallPage.js index 47dae3621666..9774336efd06 100644 --- a/apps/meteor/client/views/marketplace/AppInstallPage.js +++ b/apps/meteor/client/views/marketplace/AppInstallPage.js @@ -18,7 +18,8 @@ import { useForm } from '../../hooks/useForm'; import AppPermissionsReviewModal from './AppPermissionsReviewModal'; import AppUpdateModal from './AppUpdateModal'; import AppInstallModal from './components/AppInstallModal/AppInstallModal'; -import { handleAPIError, handleInstallError } from './helpers'; +import { handleAPIError } from './helpers/handleAPIError'; +import { handleInstallError } from './helpers/handleInstallError'; import { useAppsCountQuery } from './hooks/useAppsCountQuery'; import { getManifestFromZippedApp } from './lib/getManifestFromZippedApp'; From a42415d9646d72b8388891a97933aa8a3faafb5c Mon Sep 17 00:00:00 2001 From: Douglas Gubert Date: Tue, 12 Sep 2023 12:00:12 -0300 Subject: [PATCH 2/2] Add changeset --- .changeset/fuzzy-points-care.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fuzzy-points-care.md diff --git a/.changeset/fuzzy-points-care.md b/.changeset/fuzzy-points-care.md new file mode 100644 index 000000000000..7f1019fce810 --- /dev/null +++ b/.changeset/fuzzy-points-care.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/meteor': patch +--- + +Fix a bug that prevented the error message from being shown in the private app installation page