message: Fix issue where switching tabs on activity changes notification count back for a split second.
diff: @@ -6,10 +6,7 @@ import { Component, Prop } from 'vue-property-decorator';
  import { Route } from 'vue-router';
  import { Mutation, State } from 'vuex-class';
  import { Api } from '../../../lib/gj-lib-client/components/api/api.service';
  -import {
  - BaseRouteComponent,
  - RouteResolve,
  -} from '../../../lib/gj-lib-client/components/route/route-component';
  +import { BaseRouteComponent, RouteResolve } from '../../../lib/gj-lib-client/components/route/route-component';
  import { Screen } from '../../../lib/gj-lib-client/components/screen/screen-service';
  import { AppActivityFeed } from '../../components/activity/feed/feed';
  import { ActivityFeedContainer } from '../../components/activity/feed/feed-container-service';
  @@ -86,7 +83,7 @@ export default class RouteActivity extends BaseRouteComponent {
  this.feed = ActivityFeedService.routeInit(this);
  }
  - routed($payload: any) {
  + routed($payload: any, fromCache: boolean) {
  const [feedPlayload, discoverPayload] = $payload;
  if (this.tab === 'activity') {
  @@ -114,7 +111,8 @@ export default class RouteActivity extends BaseRouteComponent {
  // we clear the notifications for the tab we are on
  this.setNotificationCount({ type: this.tab, count: 0 });
  - // set the other notification count
  + // Don't set if from cache, otherwise it could reset to the cached count when switching between tabs.
  + if (!fromCache) {
  if (this.tab === 'activity') {
  this.setNotificationCount({
  type: 'notifications',
  @@ -126,6 +124,7 @@ export default class RouteActivity extends BaseRouteComponent {
  count: feedPlayload.activityUnreadCount,
  });
  }
  + }
  this.featuredGames = Game.populate(discoverPayload.games);
  if (discoverPayload.featuredItem) {
  