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 */
|
return window /* this.$refs.appContentRef */
|
||||||
},
|
},
|
||||||
showInstanceSpecificPanel() {
|
showInstanceSpecificPanel() {
|
||||||
return (
|
return this.instanceSpecificPanelPresent && !this.mergedConfig.hideISP
|
||||||
this.instanceSpecificPanelPresent &&
|
|
||||||
!this.mergedConfig.hideISP
|
|
||||||
)
|
|
||||||
},
|
},
|
||||||
...mapState(useMergedConfigStore, ['mergedConfig']),
|
...mapState(useMergedConfigStore, ['mergedConfig']),
|
||||||
...mapState(useInterfaceStore, [
|
...mapState(useInterfaceStore, [
|
||||||
|
|
|
||||||
|
|
@ -161,9 +161,7 @@ const Notifications = {
|
||||||
},
|
},
|
||||||
...mapState(useAnnouncementsStore, ['unreadAnnouncementCount']),
|
...mapState(useAnnouncementsStore, ['unreadAnnouncementCount']),
|
||||||
...mapState(useChatsStore, ['unreadChatsCount']),
|
...mapState(useChatsStore, ['unreadChatsCount']),
|
||||||
...mapState(useInterfaceStore, [
|
...mapState(useInterfaceStore, ['layoutType']),
|
||||||
'layoutType',
|
|
||||||
]),
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.scrollerRef = this.$refs.root.closest('.column.-scrollable')
|
this.scrollerRef = this.$refs.root.closest('.column.-scrollable')
|
||||||
|
|
|
||||||
|
|
@ -245,7 +245,7 @@ export default {
|
||||||
},
|
},
|
||||||
configSink() {
|
configSink() {
|
||||||
if (this.path == null) {
|
if (this.path == null) {
|
||||||
return () => {}
|
return () => {/* no-op */}
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (this.realSource) {
|
switch (this.realSource) {
|
||||||
|
|
@ -392,7 +392,7 @@ export default {
|
||||||
},
|
},
|
||||||
commitDraft() {
|
commitDraft() {
|
||||||
if (this.realDraftMode) {
|
if (this.realDraftMode) {
|
||||||
this.$emit('update:modelValue', v)
|
this.$emit('update:modelValue', this.draft)
|
||||||
this.configSink(this.path, 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 UnitSetting from '../helpers/unit_setting.vue'
|
||||||
|
|
||||||
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
import { useInstanceCapabilitiesStore } from 'src/stores/instance_capabilities.js'
|
||||||
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
|
||||||
import { useInterfaceStore } from 'src/stores/interface.js'
|
import { useInterfaceStore } from 'src/stores/interface.js'
|
||||||
|
import { useMergedConfigStore } from 'src/stores/merged_config.js'
|
||||||
|
|
||||||
const GeneralTab = {
|
const GeneralTab = {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue