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
@@ -16,12 +16,20 @@ const mapDispatchToProps = (dispatch: any) => ({
|
||||
siteLogo: string,
|
||||
brandDisplaySetting: TenantSettingBrandDisplay,
|
||||
locale: string,
|
||||
rootBoardId: number,
|
||||
showVoteCount: boolean,
|
||||
showVoteButtonInBoard: boolean,
|
||||
authenticityToken: string
|
||||
): Promise<any> {
|
||||
return dispatch(updateTenant({
|
||||
siteName,
|
||||
siteLogo,
|
||||
tenantSetting: { brand_display: brandDisplaySetting },
|
||||
tenantSetting: {
|
||||
brand_display: brandDisplaySetting,
|
||||
show_vote_count: showVoteCount,
|
||||
show_vote_button_in_board: showVoteButtonInBoard,
|
||||
root_board_id: rootBoardId,
|
||||
},
|
||||
locale,
|
||||
authenticityToken,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user