Skip to content

Commit

Permalink
fix: correct browser filter loading in 'gui' mode (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
rostik404 authored Jan 20, 2021
1 parent 9f5da74 commit 0b10d19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/static/modules/reducers/browsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {versions as BrowserVersions} from '../../../constants/browser';
export default (state, action) => {
switch (action.type) {
case actionNames.INIT_GUI_REPORT: {
const browsers = extractBrowsers(state.tree.results);
const {tree} = action.payload;
const browsers = extractBrowsers(tree.results);

return {...state, browsers};
}
Expand Down

0 comments on commit 0b10d19

Please sign in to comment.