Skip to content

Instantly share code, notes, and snippets.

@hachibu
Last active April 23, 2020 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hachibu/97c52889d69f19cf603959b2eccbe214 to your computer and use it in GitHub Desktop.
Save hachibu/97c52889d69f19cf603959b2eccbe214 to your computer and use it in GitHub Desktop.
function loadFilters() {
FiltersModel.getSegments().then(
segments => {
segments.forEach(segment => {
FiltersModel.getSegmentTerms(segment).then(
segmentTerms => {
console.log(segmentTerms);
},
console.error
);
});
},
console.error
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment