Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1395 from metasfresh/dev-1367
Browse files Browse the repository at this point in the history
Reload selectedAttribute upon the message of WS #1367
  • Loading branch information
teosarca committed Nov 30, 2017
2 parents d8cf524 + 4562731 commit 27c5bd3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/components/app/DocumentList.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,24 @@ class DocumentList extends Component {
}

if(fullyChanged == true){
const { store } = this.context;
const {
dispatch, windowType
} = this.props;
const { viewId } = this.state;
const selection = getSelection({
state: store.getState(),
windowType,
viewId,
});

// Reload Attributes after QuickAction is done
selection.length && dispatch(selectTableItems({
windowType,
viewId,
ids: selection[0],
}));

this.browseView();
this.updateQuickActions();
}
Expand Down

0 comments on commit 27c5bd3

Please sign in to comment.