diff options
| author | kaniini <nenolod@gmail.com> | 2018-08-18 17:09:37 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2018-08-18 17:09:37 +0000 |
| commit | 5c3f6aebb9cea476d3a64c14d8a392dfa4f7af37 (patch) | |
| tree | dd607c1ab48ec9d202bee9948a6ca8d04379febf /src/components/post_status_form | |
| parent | ce88f351f7b28a36553e67f7e02373be7b51ef8f (diff) | |
| parent | fe06beae18418c015537f187af9fff5e735f0f35 (diff) | |
Merge branch 'feature/default-scope' into 'develop'
Feature/default scope
See merge request pleroma/pleroma-fe!309
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 2 | ||||
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 19 |
2 files changed, 1 insertions, 20 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 61f2ac0a..ff3bb906 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -54,7 +54,7 @@ const PostStatusForm = { newStatus: { status: statusText, files: [], - visibility: this.messageScope || 'public' + visibility: this.messageScope || this.$store.state.users.currentUser.default_scope }, caret: 0 } diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 7aa0e7c4..3749271d 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -99,25 +99,6 @@ } } -.post-status-form .visibility-tray { - font-size: 1.2em; - padding: 3px; - cursor: pointer; - - .selected { - color: $fallback--lightFg; - color: var(--lightFg, $fallback--lightFg); - } -} - -.visibility-notice { - padding: .5em; - border: 1px solid $fallback--faint; - border: 1px solid var(--faint, $fallback--faint); - border-radius: $fallback--inputRadius; - border-radius: var(--inputRadius, $fallback--inputRadius); -} - .post-status-form, .login { .form-bottom { display: flex; |
