-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Use DOMContentLoaded and fix sharebymail loading issue #21921
Conversation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6a6c8bd
to
6fcd075
Compare
6fcd075
to
52773e9
Compare
52773e9
to
6fcd075
Compare
const capabilities = OC.getCapabilities() | ||
// eslint-disable-next-line camelcase | ||
return capabilities?.files_sharing?.sharebymail !== undefined | ||
// eslint-disable-next-line camelcase | ||
&& capabilities?.files_sharing?.public?.enabled === true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For you @rullzer
Failure unrelated :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to do the trick with the random loading issues.
Oh! This makes the integration tests more reliable! 🚀 |
After #20949