diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 1 | ||||
| -rw-r--r-- | src/components/scope_selector/scope_selector.js | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index b3d731cd..8beb73a9 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -46,7 +46,6 @@ <scope-selector :showAll="showAllScopes" - :userEnabled="['direct']" :userDefault="userDefaultScope" :originalScope="copyMessageScope" :initialScope="newStatus.visibility" diff --git a/src/components/scope_selector/scope_selector.js b/src/components/scope_selector/scope_selector.js index 578f1ba5..4693d066 100644 --- a/src/components/scope_selector/scope_selector.js +++ b/src/components/scope_selector/scope_selector.js @@ -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 |
