mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-19 17:52:45 +02:00
* fix: strategy dialogue * fix: fontweight dropdown * fix: eventlog padding * refactor: history * refactor: use material ui styling conventions for history * refactor: add empty state for features * refactor: variant dialog * refactor: delete unused variant config * fix: variant typography * fix: remove unused styles file * fix: footer * feat: protected routes * fix: rename app * fix: remove console log * fix: convert app to typescript * fix: add standalone login screen * fix: cleanup * fix: add theme colors for login * fix: update tests * fix: swap route with ProtectedRoute * fix: remove unused redirect * fix: use redirect to correctly setup breadcrumbs * refactor: isUnauthorized * fix: reset loading count on logout * fix: create a more comprehensive auth check * feat: add unleash logo
19 lines
515 B
JavaScript
19 lines
515 B
JavaScript
import { connect } from 'react-redux';
|
|
import EventLog from './EventLog';
|
|
import { updateSettingForGroup } from '../../../store/settings/actions';
|
|
|
|
const mapStateToProps = state => {
|
|
const settings = state.settings.toJS().history || {};
|
|
const location = state.settings.toJS().location || {};
|
|
return {
|
|
settings,
|
|
location,
|
|
};
|
|
};
|
|
|
|
const EventLogContainer = connect(mapStateToProps, {
|
|
updateSetting: updateSettingForGroup('history'),
|
|
})(EventLog);
|
|
|
|
export default EventLogContainer;
|