Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

[Backport][RGTC-2170] Create Limit by location for AF #123

Merged
merged 1 commit into from
Dec 20, 2021
Merged

[Backport][RGTC-2170] Create Limit by location for AF #123

merged 1 commit into from
Dec 20, 2021

Conversation

shuklina
Copy link
Contributor

PR YN: https://github.com/ymcatwincities/yn/pull/5763

How to review:

  • login as admin
  • Go to /activity_finder?step=results
  • Edit page
    image
  • Add some branch, camp, facility
  • Make sure that there are no locations on the page:
  1. On the first step /activity_finder?step=selectLocations
    image
  2. /activity_finder?step=results
    image

@podarok podarok merged commit adb4801 into ymcatwincities:4.x Dec 20, 2021
const filteredLocations = {}
this.locations.forEach((locationGroup, key) => {
// Filter out excluded locations.
if (!this.excludeByLocation.length) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is impossible this condition evaluates to TRUE here... it was already checked a few lines above ^^

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shuklina ^^^ FYI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants