mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 11:47:56 +01:00
Add setting to manage visibility of vote count, vote button and decide root page (#197)
This commit is contained in:
committed by
GitHub
parent
d4242dd78e
commit
e7335f5622
@@ -4,11 +4,13 @@ import { Store } from 'redux';
|
||||
|
||||
import GeneralSiteSettings from '../../../containers/GeneralSiteSettings';
|
||||
import createStoreHelper from '../../../helpers/createStore';
|
||||
import IBoardJSON from '../../../interfaces/json/IBoard';
|
||||
import { State } from '../../../reducers/rootReducer';
|
||||
import { ISiteSettingsGeneralForm } from './GeneralSiteSettingsP';
|
||||
|
||||
interface Props {
|
||||
originForm: ISiteSettingsGeneralForm;
|
||||
boards: IBoardJSON[];
|
||||
authenticityToken: string;
|
||||
}
|
||||
|
||||
@@ -26,6 +28,7 @@ class GeneralSiteSettingsRoot extends React.Component<Props> {
|
||||
<Provider store={this.store}>
|
||||
<GeneralSiteSettings
|
||||
originForm={this.props.originForm}
|
||||
boards={this.props.boards}
|
||||
authenticityToken={this.props.authenticityToken}
|
||||
/>
|
||||
</Provider>
|
||||
|
||||
Reference in New Issue
Block a user