This commit is contained in:
Родитель
f79dfb6027
Коммит
4f8985ab60
|
@ -150,8 +150,6 @@ class Poll extends Entity implements JsonSerializable {
|
|||
'access' => $this->access,
|
||||
'anonymous' => intval($this->anonymous),
|
||||
'allowComment' => intval($this->allowComment),
|
||||
// 'allowComment' => 1,
|
||||
// 'allowComment' => 0,
|
||||
'allowMaybe' => intval($this->allowMaybe),
|
||||
'settings' => $this->settings,
|
||||
'voteLimit' => intval($this->voteLimit),
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
</ConfigBox>
|
||||
|
||||
<ConfigBox :title="t('polls', 'Poll configurations')" icon-class="icon-category-customization">
|
||||
<CheckBoxDiv v-model="allowComment" :label="t('polls', 'Allow Comments')" />
|
||||
<CheckBoxDiv v-model="pollAllowComment" :label="t('polls', 'Allow Comments')" />
|
||||
<CheckBoxDiv v-model="pollAllowMaybe" :label="t('polls', 'Allow \'maybe\' vote')" />
|
||||
|
||||
<div v-if="(useVoteLimit || useOptionLimit) && pollAllowMaybe" class="indented warning">
|
||||
|
|
Загрузка…
Ссылка в новой задаче