#42647 fix(file settings): Unnecessary 2FA UI message (updated)#44594
#42647 fix(file settings): Unnecessary 2FA UI message (updated)#44594JED-B wants to merge 6 commits intonextcloud:masterfrom
Conversation
- added an if condition for the message rendering Signed-off-by: JEEEEEEEEEEEEEEEEEEEEEED <118366366+jadjoud@users.noreply.github.com>
|
Thank you, always great to see new contributors 👍 Here is a brief explanation of how to set up a local dev environment https://github.com/nextcloud/server?tab=readme-ov-file#join-the-team- A good start to wrap a v-if template block. To make that actually work, you also need to add the actual variable The patch below should provide the necessary data from the backend and use it in the vue component. |
|
Removing myself as reviewer because I'm not familiar enough with 2fa and the files settings component. |
|
@kesselb I will try to make the necessary changes ASAP |
|
When message is rendered only with 2FA enabled, should not contain Removing myself as reviewer because we're not using 2FA with nc so cannot test it. |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! |
| </a> | ||
| </em> | ||
| <!-- Conditional rendering based on 2FA --> | ||
| <template v-if="isTwoFactorEnabled"> |
There was a problem hiding this comment.
This variable doesn't exist?
You need to check of we have a capability for it or else inject the variables from the Controller yourself :)
Summary
Added a conditional statement for the message rendering
@kesselb this is the fixed PR
TODO
Checklist