lint
This commit is contained in:
parent
8e19fbf23e
commit
92b8d1607f
4 changed files with 5 additions and 10 deletions
|
|
@ -238,10 +238,7 @@ export default {
|
|||
return window /* this.$refs.appContentRef */
|
||||
},
|
||||
showInstanceSpecificPanel() {
|
||||
return (
|
||||
this.instanceSpecificPanelPresent &&
|
||||
!this.mergedConfig.hideISP
|
||||
)
|
||||
return this.instanceSpecificPanelPresent && !this.mergedConfig.hideISP
|
||||
},
|
||||
...mapState(useMergedConfigStore, ['mergedConfig']),
|
||||
...mapState(useInterfaceStore, [
|
||||
|
|
|
|||
|
|
@ -161,9 +161,7 @@ const Notifications = {
|
|||
},
|
||||
...mapState(useAnnouncementsStore, ['unreadAnnouncementCount']),
|
||||
...mapState(useChatsStore, ['unreadChatsCount']),
|
||||
...mapState(useInterfaceStore, [
|
||||
'layoutType',
|
||||
]),
|
||||
...mapState(useInterfaceStore, ['layoutType']),
|
||||
},
|
||||
mounted() {
|
||||
this.scrollerRef = this.$refs.root.closest('.column.-scrollable')
|
||||
|
|
|
|||
|
|
@ -245,7 +245,7 @@ export default {
|
|||
},
|
||||
configSink() {
|
||||
if (this.path == null) {
|
||||
return () => {}
|
||||
return () => {/* no-op */}
|
||||
}
|
||||
|
||||
switch (this.realSource) {
|
||||
|
|
@ -392,7 +392,7 @@ export default {
|
|||
},
|
||||
commitDraft() {
|
||||
if (this.realDraftMode) {
|
||||
this.$emit('update:modelValue', v)
|
||||
this.$emit('update:modelValue', this.draft)
|
||||
this.configSink(this.path, this.draft)
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ import SharedComputedObject from '../helpers/shared_computed_object.js'
|
|||
import UnitSetting from '../helpers/unit_setting.vue'
|
||||
|
||||
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||
|
||||
const GeneralTab = {
|
||||
data() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue