diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-01-11 14:43:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 14:43:07 +0100 |
commit | afb3c7086d3a29fb996f9a2494f87f779a996224 (patch) | |
tree | de276377a0ca47e5a68ec26dece016a15b1718dd /src | |
parent | 2a40f24827b80c22173d93256738e9e7a00ff4c1 (diff) | |
parent | 229891d3e70568b3643a8ced541a2c591c9467ec (diff) |
Merge pull request #326 from nextcloud/bugfix/227/always-use-at
Always use @ infront of account id
Diffstat (limited to 'src')
-rw-r--r-- | src/components/ProfileInfo.vue | 2 | ||||
-rw-r--r-- | src/components/TimelineEntry.vue | 2 | ||||
-rw-r--r-- | src/router.js | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/components/ProfileInfo.vue b/src/components/ProfileInfo.vue index 8156c93e..439da6df 100644 --- a/src/components/ProfileInfo.vue +++ b/src/components/ProfileInfo.vue @@ -28,7 +28,7 @@ <avatar v-else :url="avatarUrl" :disable-tooltip="true" :size="128" /> <h2>{{ displayName }}</h2> - <p>{{ accountInfo.account }}</p> + <p>@{{ accountInfo.account }}</p> <p v-if="accountInfo.website"> Website: <a :href="accountInfo.website.value"> {{ accountInfo.website.value }} diff --git a/src/components/TimelineEntry.vue b/src/components/TimelineEntry.vue index a5633ae8..887f7097 100644 --- a/src/components/TimelineEntry.vue +++ b/src/components/TimelineEntry.vue @@ -14,7 +14,7 @@ {{ userDisplayName(item.actor_info) }} </span> <span class="post-author-id"> - {{ item.actor_info.account }} + @{{ item.actor_info.account }} </span> </router-link> <a v-else :href="item.attributedTo"> diff --git a/src/router.js b/src/router.js index 35b360a2..c15d236b 100644 --- a/src/router.js +++ b/src/router.js @@ -26,9 +26,9 @@ import Router from 'vue-router' // Dynamic loading const Timeline = () => import('./views/Timeline') -const Profile = () => import('./views/Profile') -const ProfileTimeline = () => import('./views/ProfileTimeline') -const ProfileFollowers = () => import('./views/ProfileFollowers') +const Profile = () => import(/* webpackChunkName: "profile" */'./views/Profile') +const ProfileTimeline = () => import(/* webpackChunkName: "profile" */'./views/ProfileTimeline') +const ProfileFollowers = () => import(/* webpackChunkName: "profile" */'./views/ProfileFollowers') Vue.use(Router) |