Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Mar 22, 2019
2 parents 4c025d9 + ba4c477 commit fc92506
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Resources/public/js/ContentTree.module.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/public/js/MultiFileUpload.module.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/public/js/SubItems.module.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/public/js/UniversalDiscovery.module.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/public/js/UniversalDiscovery.module.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,9 @@ export default class UniversalDiscoveryModule extends Component {
* @param {Object} response
*/
updatePermissionsState(response) {
this.setState(() => ({ hasPermission: response.access }));
if (this.state.hasPermission !== response.access) {
this.setState(() => ({ hasPermission: response.access }));
}
}

/**
Expand Down

0 comments on commit fc92506

Please sign in to comment.