99ceaadf8b
* add hosting to first run, enable auto hosting * take welcomeVersion out of sync * app strings fix * recommended view hosting limit * small changes * fixes * appstrings * small fix
21 lines
654 B
JavaScript
21 lines
654 B
JavaScript
import { connect } from 'react-redux';
|
|
import StorageViz from './view';
|
|
import {
|
|
selectViewBlobSpace,
|
|
selectViewHostingLimit,
|
|
selectAutoBlobSpace,
|
|
selectPrivateBlobSpace,
|
|
selectAutoHostingLimit,
|
|
} from 'redux/selectors/settings';
|
|
import { selectDiskSpace } from 'redux/selectors/app';
|
|
|
|
const select = (state) => ({
|
|
diskSpace: selectDiskSpace(state),
|
|
viewHostingLimit: selectViewHostingLimit(state),
|
|
autoHostingLimit: selectAutoHostingLimit(state),
|
|
viewBlobSpace: selectViewBlobSpace(state),
|
|
autoBlobSpace: selectAutoBlobSpace(state),
|
|
privateBlobSpace: selectPrivateBlobSpace(state),
|
|
});
|
|
|
|
export default connect(select)(StorageViz);
|