fix vue warnings
This commit is contained in:
parent
5faca01261
commit
59aaade7fc
10 changed files with 31 additions and 31 deletions
|
@ -4,13 +4,13 @@
|
|||
>
|
||||
<Checkbox
|
||||
:checked="state"
|
||||
@change="update"
|
||||
:disabled="disabled"
|
||||
@change="update"
|
||||
>
|
||||
<span
|
||||
v-if="!!$slots.default"
|
||||
class="label"
|
||||
>
|
||||
>
|
||||
<slot />
|
||||
</span>
|
||||
<ModifiedIndicator :changed="isChanged" />
|
||||
|
@ -23,14 +23,14 @@ import { get, set } from 'lodash'
|
|||
import Checkbox from 'src/components/checkbox/checkbox.vue'
|
||||
import ModifiedIndicator from './modified_indicator.vue'
|
||||
export default {
|
||||
props: [
|
||||
'path',
|
||||
'disabled'
|
||||
],
|
||||
components: {
|
||||
Checkbox,
|
||||
ModifiedIndicator
|
||||
},
|
||||
props: [
|
||||
'path',
|
||||
'disabled'
|
||||
],
|
||||
computed: {
|
||||
pathDefault () {
|
||||
const [firstSegment, ...rest] = this.path.split('.')
|
||||
|
|
|
@ -2,21 +2,21 @@
|
|||
<span
|
||||
v-if="changed"
|
||||
class="ModifiedIndicator"
|
||||
>
|
||||
>
|
||||
<Popover
|
||||
trigger="hover"
|
||||
>
|
||||
>
|
||||
<span slot="trigger">
|
||||
|
||||
<FAIcon
|
||||
icon="wrench"
|
||||
/>
|
||||
<FAIcon
|
||||
icon="wrench"
|
||||
/>
|
||||
</span>
|
||||
<div
|
||||
class="modified-tooltip"
|
||||
slot="content"
|
||||
>
|
||||
{{ $t('settings.setting_changed') }}
|
||||
class="modified-tooltip"
|
||||
>
|
||||
{{ $t('settings.setting_changed') }}
|
||||
</div>
|
||||
</Popover>
|
||||
</span>
|
||||
|
@ -32,8 +32,8 @@ library.add(
|
|||
)
|
||||
|
||||
export default {
|
||||
props: ['changed'],
|
||||
components: { Popover }
|
||||
components: { Popover },
|
||||
props: ['changed']
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
@ -75,8 +75,8 @@
|
|||
<p>{{ $t('settings.filtering_explanation') }}</p>
|
||||
<textarea
|
||||
id="muteWords"
|
||||
class="resize-height"
|
||||
v-model="muteWordsString"
|
||||
class="resize-height"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue