Merge branch 'minimal-scopes-mode' into shigusegubu

* minimal-scopes-mode:
  fix lint
  fix formatting
  fix formatting
  Review
This commit is contained in:
Henry Jameson 2019-03-30 12:37:55 +02:00
commit 8baf0ce9ec
4 changed files with 12 additions and 4 deletions

View file

@ -50,7 +50,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)
scope === 'direct'
},
changeVis (scope) {
this.currentScope = scope