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,