clear location.hash when clicking on active app item

This commit is contained in:
SleepWalker 2018-11-10 11:51:08 +02:00
parent 0ad3499609
commit b22af28a1f
3 changed files with 1 additions and 3 deletions

View File

@ -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';

View File

@ -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';

View File

@ -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();
}