Basic status posting.

This commit is contained in:
Roger Braun 2016-10-30 16:53:58 +01:00
parent 8630f91a13
commit 7980558461
6 changed files with 117 additions and 22 deletions

View file

@ -1,4 +1,5 @@
import LoginForm from '../login_form/login_form.vue'
import PostStatusForm from '../post_status_form/post_status_form.vue'
const UserPanel = {
computed: {
@ -11,7 +12,8 @@ const UserPanel = {
}
},
components: {
LoginForm
LoginForm,
PostStatusForm
}
}

View file

@ -29,7 +29,7 @@
</div>
<div class="panel-footer">
<post-status-form></post-status-form>
<post-status-form v-if='user'></post-status-form>
</div>
</div>
<login-form v-if='!user'></login-form>