Review
This commit is contained in:
parent
6184c88ac7
commit
bf927122df
3 changed files with 7 additions and 3 deletions
|
@ -46,7 +46,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)
|
||||
'direct' === scope
|
||||
},
|
||||
changeVis (scope) {
|
||||
this.currentScope = scope
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue