separation support
This commit is contained in:
parent
5e21134d9b
commit
e554eeeef6
30 changed files with 92 additions and 102 deletions
|
|
@ -307,15 +307,15 @@ const PostStatusForm = {
|
|||
return this.mergedConfig.alwaysShowSubjectInput
|
||||
},
|
||||
postFormats() {
|
||||
return useInstanceStore().postFormats || []
|
||||
return useInstanceStore().featureSet.postFormats || []
|
||||
},
|
||||
safeDMEnabled() {
|
||||
return useInstanceStore().safeDM
|
||||
return useInstanceStore().featureSet.safeDM
|
||||
},
|
||||
pollsAvailable() {
|
||||
return (
|
||||
useInstanceStore().pollsAvailable &&
|
||||
useInstanceStore().pollLimits.max_options >= 2 &&
|
||||
useInstanceStore().featureSet.pollsAvailable &&
|
||||
useInstanceStore().limits.pollLimits.max_options >= 2 &&
|
||||
this.disablePolls !== true
|
||||
)
|
||||
},
|
||||
|
|
@ -344,7 +344,7 @@ const PostStatusForm = {
|
|||
return typeof this.statusId !== 'undefined' && this.statusId.trim() !== ''
|
||||
},
|
||||
quotable() {
|
||||
if (!useInstanceStore().quotingAvailable) {
|
||||
if (!useInstanceStore().featureSet.quotingAvailable) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue