Skip to content

Commit

Permalink
fix: bounty tab not loading on tribe when user is logged out (#9011)
Browse files Browse the repository at this point in the history
* fix: bounty tab not loading on tribe when user is logged out

* tweak order
  • Loading branch information
thelostone-mc authored Jun 8, 2021
1 parent e2f8457 commit 7b1cfa4
Show file tree
Hide file tree
Showing 4 changed files with 307 additions and 303 deletions.
2 changes: 2 additions & 0 deletions app/assets/v2/js/explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ Vue.component('bounty-explorer', Vue.extend({
};
},
mounted() {
let vm = this;

vm.bounties = [];
vm.featuredBounties = [];
if (this.tribe && this.tribe.handle) {
Expand Down
4 changes: 2 additions & 2 deletions app/assets/v2/js/pages/profile-tribes.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,10 @@ const loadDynamicScript = (callback, url, id) => {
newPathName = 'projects';
break;
case 2:
newPathName = 'people';
newPathName = 'bounties';
break;
case 3:
newPathName = 'bounties';
newPathName = 'people';
break;
case 4:
newPathName = 'manage';
Expand Down
Loading

0 comments on commit 7b1cfa4

Please sign in to comment.