fix breadcrumb: fixed breadcrumb history not working properly when clicking on "sdcard" fix dialogs/menus: fixed clicking out of menus and dialogs triggering actions other than hiding the dialog/event
10 lines
178 B
JavaScript
10 lines
178 B
JavaScript
import { ACTIVE_FILE } from 'actions/types';
|
|
|
|
export default function(state = null, action) {
|
|
if (action.type === ACTIVE_FILE) {
|
|
return action.file;
|
|
}
|
|
|
|
return state;
|
|
}
|