Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: SVG #917

Merged
merged 4 commits into from
Jan 17, 2020
Merged

fix: SVG #917

merged 4 commits into from
Jan 17, 2020

Conversation

Crash--
Copy link
Contributor

@Crash-- Crash-- commented Jan 17, 2020

Currently, the SVG used are not displayed since we now use babel-react-svg-inline to load them instead of the Drive's loader :

Here is a screenshot of the issue:
Capture d’écran 2020-01-17 à 15 11 06

As you can see all the "a" even if I have in my source : <use xlink:href="#hourglass-path-1"></use>

Also added a state to the provider to tell if we have done one request to sharing or not in order to give to the consumer a way to know if when sharings.length === 0 it's because there is no sharing or if the request is not done yet

It simplifies the diff between loaded with no sharings and
not resolved yet when sharing.length=0
Since we can revoked and then apply again a sharing to the same user,
we can have a conflict for the key
@Crash-- Crash-- merged commit 52c6c3d into master Jan 17, 2020
@Crash-- Crash-- deleted the feat/Sharing2 branch January 17, 2020 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants