Code Monkey home page Code Monkey logo

generic-target-audience's Introduction

It's Rabia Williams ๐Ÿ‘‹

generic-target-audience's People

Contributors

ra1449 avatar rabwill avatar vivekrajput20 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

generic-target-audience's Issues

Content not available even if user is member of passed groupIds

Promise.race is used in TargetAudience.tsx

       Promise.race(proms).then(val => {
            this.setState({ canView: true }); //atleast one promise resolved
        });

But according to this Promise.race() method returns a promise that fulfills or rejects as soon as one of the promises in an iterable fulfills or rejects, with the value or reason from that promise.
So if multiple groups are passed and user is member of any one of the passed groups but some other group's API call is rejected first, canView will remain false and user won't be able to see the content.

Issue storing groups values

Hi,

Thanks a lot for this project.
I am facing an issue where the values in the people picker field of the property pane are not getting stored after I publish it to the page.
Any help is highly appreciated.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.