Merge branch 'minimal-scopes-mode' into shigusegubu
* minimal-scopes-mode: fix lint fix formatting fix formatting Review
This commit is contained in:
commit
8baf0ce9ec
4 changed files with 12 additions and 4 deletions
|
|
@ -50,7 +50,6 @@
|
|||
|
||||
<scope-selector
|
||||
:showAll="showAllScopes"
|
||||
:userEnabled="['direct']"
|
||||
:userDefault="userDefaultScope"
|
||||
:originalScope="copyMessageScope"
|
||||
:initialScope="newStatus.visibility"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
const ScopeSelector = {
|
||||
props: [
|
||||
'showAll',
|
||||
'userEnabled',
|
||||
'userDefault',
|
||||
'originalScope',
|
||||
'initialScope',
|
||||
|
|
@ -43,7 +42,7 @@ const ScopeSelector = {
|
|||
this.currentScope === scope ||
|
||||
this.originalScope === scope ||
|
||||
this.userDefault === scope ||
|
||||
this.userEnabled.includes(scope)
|
||||
scope === 'direct'
|
||||
},
|
||||
changeVis (scope) {
|
||||
this.currentScope = scope
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue