Add setting to manage visibility of vote count, vote button and decide root page (#197)

This commit is contained in:
Riccardo Graziosi
2023-02-05 11:55:38 +01:00
committed by GitHub
parent d4242dd78e
commit e7335f5622
35 changed files with 246 additions and 48 deletions

View File

@@ -1,4 +1,5 @@
import * as React from 'react';
import { getLabel } from '../../helpers/formUtils';
import IBoard from '../../interfaces/IBoard';
@@ -25,7 +26,7 @@ const PostBoardSelect = ({
id="selectPickerBoard"
className="selectPicker"
>
<optgroup label="Boards">
<optgroup label={getLabel('board')}>
{boards.map((board, i) => (
<option value={board.id} key={i}>
{board.name}