fix warnings

This commit is contained in:
Henry Jameson 2021-05-31 14:02:36 +03:00
parent 1afda1ac6d
commit c039656460
3 changed files with 23 additions and 11 deletions

View file

@ -47,13 +47,17 @@
:title="$t('polls.type')" :title="$t('polls.type')"
> >
<Select <Select
v-model="pollType"
class="poll-type-select" class="poll-type-select"
unstyled="true" unstyled="true"
v-model="pollType"
@change="updatePollToParent" @change="updatePollToParent"
> >
<option value="single">{{ $t('polls.single_choice') }}</option> <option value="single">
<option value="multiple">{{ $t('polls.multiple_choices') }}</option> {{ $t('polls.single_choice') }}
</option>
<option value="multiple">
{{ $t('polls.multiple_choices') }}
</option>
</Select> </Select>
</div> </div>
<div <div

View file

@ -37,10 +37,10 @@
</ul> </ul>
</div> </div>
<ChoiceSetting <ChoiceSetting
id="replyVisibility" id="replyVisibility"
path="replyVisibility" path="replyVisibility"
:options="replyVisibilityOptions" :options="replyVisibilityOptions"
> >
{{ $t('settings.replies_in_timeline') }} {{ $t('settings.replies_in_timeline') }}
</ChoiceSetting> </ChoiceSetting>
<div> <div>

View file

@ -137,10 +137,18 @@
v-model="userHighlightType" v-model="userHighlightType"
class="userHighlightSel" class="userHighlightSel"
> >
<option value="disabled">{{ $t('user_card.highlight.disabled') }}</option> <option value="disabled">
<option value="solid">{{ $t('user_card.highlight.solid') }}</option> {{ $t('user_card.highlight.disabled') }}
<option value="striped">{{ $t('user_card.highlight.striped') }}</option> </option>
<option value="side">{{ $t('user_card.highlight.side') }}</option> <option value="solid">
{{ $t('user_card.highlight.solid') }}
</option>
<option value="striped">
{{ $t('user_card.highlight.striped') }}
</option>
<option value="side">
{{ $t('user_card.highlight.side') }}
</option>
</Select> </Select>
</div> </div>
</div> </div>