[KEYCLOAK-12533] Applications UI has erroneous "Remove Access" button

This commit is contained in:
Bruno Oliveira da Silva 2019-12-19 08:11:27 -03:00
parent 54b69bd1dc
commit c0aa0891cd

View file

@ -178,6 +178,7 @@ export class ApplicationsPage extends React.Component<ApplicationsPageProps, App
</Grid> </Grid>
<Grid gutter='sm'> <Grid gutter='sm'>
<hr /> <hr />
{application.consent &&
<GridItem> <GridItem>
<React.Fragment> <React.Fragment>
<ContinueCancelModal <ContinueCancelModal
@ -190,6 +191,7 @@ export class ApplicationsPage extends React.Component<ApplicationsPageProps, App
/> />
</React.Fragment> </React.Fragment>
</GridItem> </GridItem>
}
<GridItem><InfoAltIcon /> {Msg.localize('infoMessage')}</GridItem> <GridItem><InfoAltIcon /> {Msg.localize('infoMessage')}</GridItem>
</Grid> </Grid>
</DataListContent> </DataListContent>