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 refuse second org access #2960

Merged
merged 3 commits into from Feb 15, 2024
Merged

Conversation

ThibaudDauce
Copy link
Contributor

The v-if destroy the textarea so when querying it with this.$el.querySelectorAll('textarea')[index].value there are not all present (so the index is wrong). Using v-show instead is a quick fix because it leave the textarea in the DOM, so we can query all of them and keep the correct index.

Fix datagouv/data.gouv.fr#664

Copy link
Contributor

@maudetes maudetes left a comment

Choose a reason for hiding this comment

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

Thank you! Seems to work nicely 🙏

@ThibaudDauce ThibaudDauce merged commit d06c300 into master Feb 15, 2024
1 check passed
@ThibaudDauce ThibaudDauce deleted the fix_multiple_refuse_org_access branch March 18, 2024 08:48
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.

Impossible de refuser une demande d'accès à une organisation
2 participants