Skip to content

Commit

Permalink
Stop calling status with base
Browse files Browse the repository at this point in the history
  • Loading branch information
jobelenus committed Aug 6, 2024
1 parent 40f47c8 commit 3adde01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/web/src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ router.beforeResolve((to) => {

// whenever we navigate across changesets we need to stay
// up to date with the status against base
if ("changeSetId" in to.params) {
/* if ("changeSetId" in to.params) {
const changeSetStore = useChangeSetsStore();
const changeSetId = to.params.changeSetId;
if (
Expand All @@ -199,7 +199,7 @@ router.beforeResolve((to) => {
!Array.isArray(changeSetId)
)
changeSetStore.FETCH_STATUS_WITH_BASE(changeSetId);
}
} */
});

router.afterEach((to) => {
Expand Down
4 changes: 2 additions & 2 deletions app/web/src/store/change_sets.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ export function useChangeSetsStore() {
}

// TODO: jobelenus, I'm worried the WsEvent fires before commit happens
if (this.selectedChangeSetId && !this.headSelected)
this.FETCH_STATUS_WITH_BASE(this.selectedChangeSetId);
/* if (this.selectedChangeSetId && !this.headSelected)
this.FETCH_STATUS_WITH_BASE(this.selectedChangeSetId); */

// did head get an update and I'm not on head?
// and make sure I'm not moving to head
Expand Down

0 comments on commit 3adde01

Please sign in to comment.