mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-10 01:52:04 +05:30
clear location.hash when clicking on active app item
This commit is contained in:
parent
0ad3499609
commit
b22af28a1f
@ -1,5 +1,4 @@
|
||||
// @flow
|
||||
import type { Node } from 'react';
|
||||
import type { OauthAppResponse } from 'services/api/oauth';
|
||||
import React, { Component } from 'react';
|
||||
import { FormattedMessage as Message } from 'react-intl';
|
||||
|
@ -1,5 +1,4 @@
|
||||
// @flow
|
||||
import type { Node } from 'react';
|
||||
import type { OauthAppResponse } from 'services/api/oauth';
|
||||
import React, { Component } from 'react';
|
||||
import { FormattedMessage as Message } from 'react-intl';
|
||||
|
@ -95,7 +95,7 @@ export default class ApplicationsList extends React.Component<Props, State> {
|
||||
const expandedApp
|
||||
= this.state.expandedApp === clientId ? null : clientId;
|
||||
|
||||
if (initialClientId !== clientId) {
|
||||
if (initialClientId) {
|
||||
resetClientId();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user