refactored the way status suspensibility works
This commit is contained in:
parent
97fdee5c9d
commit
31f4ad343a
16 changed files with 182 additions and 283 deletions
|
|
@ -32,11 +32,9 @@ const ThreadTree = {
|
|||
showThreadRecursively: Function,
|
||||
totalReplyCount: Object,
|
||||
totalReplyDepth: Object,
|
||||
statusContentProperties: Object,
|
||||
setStatusContentProperty: Function,
|
||||
toggleStatusContentProperty: Function,
|
||||
dive: Function,
|
||||
},
|
||||
emits: ['suspendableStateChange'],
|
||||
computed: {
|
||||
suspendable() {
|
||||
const selfSuspendable = this.$refs.statusComponent
|
||||
|
|
@ -69,9 +67,6 @@ const ThreadTree = {
|
|||
threadShowing() {
|
||||
return this.threadDisplayStatus[this.status.id] === 'showing'
|
||||
},
|
||||
currentProp() {
|
||||
return this.statusContentProperties[this.status.id]
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
statusById(id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue