From d3f5313bd81681ba2c543343ce2daacc2fe19bff Mon Sep 17 00:00:00 2001 From: kPherox Date: Sat, 27 Apr 2019 06:45:45 +0900 Subject: [PATCH] Add username props to user timeline component --- src/components/AddColumn/UserTimeline.vue | 2 ++ src/components/Preferences/AccountAuth.vue | 13 +++++++++++-- src/components/Welcome.vue | 20 +++++++++++++++----- src/main/Auth.ts | 4 ++-- 4 files changed, 30 insertions(+), 9 deletions(-) diff --git a/src/components/AddColumn/UserTimeline.vue b/src/components/AddColumn/UserTimeline.vue index 78832b2d..5e44f6b1 100644 --- a/src/components/AddColumn/UserTimeline.vue +++ b/src/components/AddColumn/UserTimeline.vue @@ -23,6 +23,8 @@ import { Component, Prop, Vue } from "vue-property-decorator" @Component export default class UserTimeline extends Vue { + @Prop() public username!: string + public timelineType: string = 'home' public userTimelineTypes: { [key: string]: string diff --git a/src/components/Preferences/AccountAuth.vue b/src/components/Preferences/AccountAuth.vue index 97a292dd..4c3f039f 100644 --- a/src/components/Preferences/AccountAuth.vue +++ b/src/components/Preferences/AccountAuth.vue @@ -22,7 +22,16 @@