message: Wipe local state for dimApi when disabling API permissions
diff: @@ -203,9 +203,19 @@ export const dimApi = (
  }
  case getType(actions.setApiPermissionGranted): {
  - return {
  + const apiPermissionGranted = action.payload;
  + return apiPermissionGranted
  + ? {
  + ...state,
  + apiPermissionGranted
  + }
  + : // If we're disabling DIM Sync, reset local state to the initial state, as if we'd never loaded
  + {
  ...state,
  - apiPermissionGranted: action.payload
  + apiPermissionGranted,
  + profiles: initialState.profiles,
  + settings: initialState.settings,
  + profileLoaded: false
  };
  }
  