Skip to content

Commit

Permalink
Changed default user url from /user/ to /u/
Browse files Browse the repository at this point in the history
  • Loading branch information
elrumo committed May 25, 2021
1 parent 93f2f4f commit 9d0c9db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
</p>

<p v-else class="coral-Body--XS opacity-60 m-b-10">
<router-link :to="'/user/'+icon.usersName" class="coral-Link">{{icon.usersName}}</router-link>
<router-link :to="'/u/'+icon.usersName" class="coral-Link">{{icon.usersName}}</router-link>
on
<span class="coral-Body--XS opacity-80">
{{ getDate(icon.timeStamp) }}
Expand Down
4 changes: 2 additions & 2 deletions website/macos-big-sur-icons/src/store/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ export default new Vuex.Store({
},

changePath(store, path){
if (path == "/user/") {
if (path == "/user/" || path == "/u/") {
path = path + Parse.User.current().getUsername()
}

try {
globalThis.router.push(path)
} catch (error) {
Expand Down

0 comments on commit 9d0c9db

Please sign in to comment.