From a91462297d243c63d4ba3a1084d3aed393258dec Mon Sep 17 00:00:00 2001 From: Iukou Siarhei <45054016+BlazarQSO@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:36:59 +0300 Subject: [PATCH] Fix/epmrpp 96302 error occurs when opening qg page (#4073) * EPMRPP-96302 || Error occurs when opening QG page * EPMRPP-96302 || fix selector import --- .../plugins/uiExtensions/createImportProps.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/app/src/controllers/plugins/uiExtensions/createImportProps.js b/app/src/controllers/plugins/uiExtensions/createImportProps.js index 97859abccc..351e9bb993 100644 --- a/app/src/controllers/plugins/uiExtensions/createImportProps.js +++ b/app/src/controllers/plugins/uiExtensions/createImportProps.js @@ -61,7 +61,7 @@ import { CANCELLED, STOPPED, } from 'common/constants/testStatuses'; -import { isAdminSelector, activeProjectSelector } from 'controllers/user'; +import { isAdminSelector, activeProjectKeySelector } from 'controllers/user'; import { projectMembersSelector, projectInfoSelector, @@ -77,7 +77,7 @@ import { pluginRouteSelector, updatePagePropertiesAction, pagePropertiesSelector, - urlProjectSlugSelector, + urlOrganizationAndProjectSelector, querySelector, payloadSelector, activeProjectRoleSelector, @@ -337,9 +337,8 @@ export const createImportProps = (pluginName) => ({ selectors: { pluginRouteSelector, payloadSelector, - activeProjectSelector, - // TODO: rename properties in plugins in the future - projectIdSelector: urlProjectSlugSelector, + activeProjectKeySelector, + urlOrganizationAndProjectSelector, // TODO: must be removed when the common plugin commands will be used globalIntegrationsSelector: createGlobalNamedIntegrationsSelector(pluginName), projectMembersSelector,