forked from AkkomaGang/akkoma-fe
eslint --fix + small fix
This commit is contained in:
parent
bcea2e4d12
commit
e7ba4255bb
14 changed files with 927 additions and 921 deletions
|
@ -12,7 +12,7 @@ const SettingsModal = {
|
|||
modalPeeked () {
|
||||
return this.$store.state.interface.settingsModalState === 'minimized'
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
export default SettingsModal
|
||||
|
|
|
@ -4,26 +4,33 @@
|
|||
<span class="title">
|
||||
{{ $t('settings.settings') }}
|
||||
</span>
|
||||
<button class="btn" @click="peekModal">
|
||||
<button
|
||||
class="btn"
|
||||
@click="peekModal"
|
||||
>
|
||||
{{ $t('general.peek') }}
|
||||
</button>
|
||||
<button class="btn" @click="closeModal">
|
||||
<button
|
||||
class="btn"
|
||||
@click="closeModal"
|
||||
>
|
||||
{{ $t('general.close') }}
|
||||
</button>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<tab-switcher
|
||||
class="settings_tab-switcher"
|
||||
:sideTabBar="true"
|
||||
:scrollableTabs="true"
|
||||
ref="tabSwitcher"
|
||||
class="settings_tab-switcher"
|
||||
:side-tab-bar="true"
|
||||
:scrollable-tabs="true"
|
||||
>
|
||||
<div
|
||||
:label="$t('settings.general')"
|
||||
>
|
||||
<GeneralTab />
|
||||
</div>
|
||||
<div v-if="isLoggedIn"
|
||||
<div
|
||||
v-if="isLoggedIn"
|
||||
:label="$t('settings.profile_tab')"
|
||||
>
|
||||
<ProfileTab />
|
||||
|
|
|
@ -5,7 +5,6 @@ import SharedComputedObject from './helpers/shared_computed_object.js'
|
|||
|
||||
const GeneralTab = {
|
||||
data () {
|
||||
const instance = this.$store.state.instance
|
||||
return {
|
||||
loopSilentAvailable:
|
||||
// Firefox
|
||||
|
@ -13,7 +12,7 @@ const GeneralTab = {
|
|||
// Chrome-likes
|
||||
Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'webkitAudioDecodedByteCount') ||
|
||||
// Future spec, still not supported in Nightly 63 as of 08/2018
|
||||
Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'audioTracks'),
|
||||
Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'audioTracks')
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<tab-switcher
|
||||
:scrollableTabs="true"
|
||||
:scrollable-tabs="true"
|
||||
class="mutes-and-blocks-tab"
|
||||
>
|
||||
<div :label="$t('settings.blocks_tab')">
|
||||
|
|
|
@ -32,7 +32,7 @@ const ProfileTab = {
|
|||
background: null,
|
||||
backgroundPreview: null,
|
||||
bannerUploadError: null,
|
||||
backgroundUploadError: null,
|
||||
backgroundUploadError: null
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
|
Loading…
Reference in a new issue