From 0bf54b3ff6899f4eb5e2bb42c6466094c8f0b8c4 Mon Sep 17 00:00:00 2001
From: MeiMei <30769358+mei23@users.noreply.github.com>
Date: Sat, 17 Nov 2018 03:25:48 +0900
Subject: Renote visibility (#3290)
---
src/client/app/desktop/views/components/renote-form.vue | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
(limited to 'src/client')
diff --git a/src/client/app/desktop/views/components/renote-form.vue b/src/client/app/desktop/views/components/renote-form.vue
index c538b90dac..e6a09c3eea 100644
--- a/src/client/app/desktop/views/components/renote-form.vue
+++ b/src/client/app/desktop/views/components/renote-form.vue
@@ -5,7 +5,8 @@
@@ -24,14 +25,16 @@ export default Vue.extend({
data() {
return {
wait: false,
- quote: false
+ quote: false,
+ visibility: this.$store.state.settings.defaultNoteVisibility
};
},
methods: {
- ok() {
+ ok(v: string) {
this.wait = true;
this.$root.api('notes/create', {
- renoteId: this.note.id
+ renoteId: this.note.id,
+ visibility: v || this.visibility
}).then(data => {
this.$emit('posted');
this.$notify(this.$t('success'));
@@ -81,7 +84,11 @@ export default Vue.extend({
height 40px
&.cancel
+ right 280px
+
+ &.home
right 148px
+ font-size 13px
&.ok
right 16px
--
cgit v1.2.3-freya