Skip to content

Commit 17ab614

Browse files
authored
Merge pull request #1288 from e19166/main
Fix app sharing groups not shown in subscription wizardFix bug
2 parents 899dd18 + efab0c2 commit 17ab614

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

portals/devportal/src/main/webapp/source/src/app/components/Apis/Details/Credentials/Wizard/ButtonPanel.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const styles = {
1313
mr: 1,
1414
},
1515
wizardButtons: {
16+
mt: 2,
1617
pl: 2,
1718
},
1819
};

portals/devportal/src/main/webapp/source/src/app/components/Apis/Details/Credentials/Wizard/CreateAppStep.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import Button from '@mui/material/Button';
3030
import InlineMessage from 'AppComponents/Shared/InlineMessage';
3131
import { ApiContext } from 'AppComponents/Apis/Details/ApiContext';
3232
import { app } from 'Settings';
33+
import SettingsContext from 'AppComponents/Shared/SettingsContext';
3334
import ButtonPanel from './ButtonPanel';
3435

3536
const PREFIX = 'CreateAppStep';
@@ -77,6 +78,8 @@ const createAppStep = (props) => {
7778
currentStep, setCreatedApp, incrementStep, intl, setStepStatus, stepStatuses,
7879
} = props;
7980
const { api: apiObject } = useContext(ApiContext);
81+
const settingsContext = useContext(SettingsContext);
82+
const isApplicationSharingEnabled = Boolean(settingsContext?.settings?.applicationSharingEnabled);
8083

8184
const validateName = (value) => {
8285
if (!value || value.trim() === '') {
@@ -281,6 +284,7 @@ const createAppStep = (props) => {
281284
getAttributeValue={getAttributeValue}
282285
handleDeleteChip={handleDeleteChip}
283286
handleAddChip={handleAddChip}
287+
isApplicationSharingEnabled={isApplicationSharingEnabled}
284288
/>
285289
</Grid>
286290
</Box>

0 commit comments

Comments
 (0)