|
123 | 123 | <div v-if="!post._deleted && !post.user.ignored" class="post-block-grid"> |
124 | 124 | <!-- Post Profile Section --> |
125 | 125 | <div class="post-user"> |
126 | | - <router-link :to="{ path: '/profile/' + post.user.username.toLowerCase(), query: { id: post.user.id }}"> |
| 126 | + <router-link :to="{ path: '/profile/' + post.user.username.toLowerCase() }"> |
127 | 127 | <div class="user-avatar" :class="defaultAvatarShape"> |
128 | 128 | <span v-if="post.user.online" class="online green" :data-balloon="post.user.username + ' is online'"> |
129 | 129 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"> |
130 | 130 | <title></title> |
131 | 131 | <circle cx="24" cy="24" r="16" /> |
132 | 132 | </svg> |
133 | 133 | </span> |
134 | | - <router-link :to="{ path: '/profile/' + post.user.username.toLowerCase(), query: { id: post.user.id } }"> |
| 134 | + <router-link :to="{ path: '/profile/' + post.user.username.toLowerCase() }"> |
135 | 135 | <img :src="post.avatar || defaultAvatar" @error="$event.target.src=defaultAvatar" /> |
136 | 136 | </router-link> |
137 | 137 | </div> |
138 | | - <router-link :to="{ path: '/profile/' + post.user.username.toLowerCase(), query: { id: post.user.id } }" class="hide-mobile"> |
| 138 | + <router-link class="hide-mobile" :to="{ path: '/profile/' + post.user.username.toLowerCase() }"> |
139 | 139 | <div class="original-poster" v-if="post.user.original_poster">OP</div> |
140 | 140 | <div v-if="post.user.title" :title="('Title: ' + post.user.title)" class="user-activity"><span class="user-activity-value">{{post.user.title}}</span></div> |
141 | 141 | <div v-if="post.user.merit > -1" :title="('Merit: ' + post.user.merit)" class="user-activity">Merit: <span class="user-activity-value">{{post.user.merit}}</span></div> |
|
166 | 166 | </div> |
167 | 167 | <div :title="post.user.role_name || 'user'" class="user-role" :style="userRoleHighlight(post.user.highlight_color)">{{post.user.role_name || 'user'}}</div> |
168 | 168 | </div> |
169 | | - <router-link :to="{ path: '/profile/' + post.user.username.toLowerCase(), query: { id: post.user.id } }" class="user-activity-mobile"> |
| 169 | + <router-link :to="{ path: '/profile/' + post.user.username.toLowerCase() }" class="user-activity-mobile"> |
170 | 170 | <div class="original-poster" v-if="post.user.original_poster">OP</div> |
171 | 171 | <div v-if="post.user.title" :title="('Title: ' + post.user.title)" class="user-activity"><span class="user-activity-value">{{post.user.title}}</span></div> |
172 | 172 | <div v-if="post.user.merit > -1" :title="('Merit: ' + post.user.merit)" class="user-activity">Merit: <span class="user-activity-value">{{post.user.merit}}</span></div> |
|
188 | 188 | <!-- Post Title --> |
189 | 189 | <div class="hide-mobile post-title"> |
190 | 190 | <div class="post-title-user"> |
191 | | - <span class="username" :data-balloon="post.user.role_name || 'User'"><router-link :to="{ path: '/profile/' + post.user.username.toLowerCase(), query: { id: post.user.id } }"> |
| 191 | + <span class="username" :data-balloon="post.user.role_name || 'User'"><router-link :to="{ path: '/profile/' + post.user.username.toLowerCase() }"> |
192 | 192 | <span v-html="post.user.username"></span> |
193 | 193 | </router-link></span> |
194 | 194 | <div :title="post.user.name" v-if="post.user.name" class="display-name"> |
|
0 commit comments