This commit is contained in:
Henry Jameson 2019-03-30 12:25:23 +02:00
parent 6184c88ac7
commit bf927122df
3 changed files with 7 additions and 3 deletions

View file

@ -46,7 +46,6 @@
<scope-selector
:showAll="showAllScopes"
:userEnabled="['direct']"
:userDefault="userDefaultScope"
:originalScope="copyMessageScope"
:initialScope="newStatus.visibility"

View file

@ -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