-
-
Couldn't load subscription status.
- Fork 4.6k
fix(files_sharing): Implement conditional federation placeholder #54310
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
Conversation
be53ba4 to
0644472
Compare
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.
tested and works fine
0644472 to
a5878c8
Compare
|
/compile |
|
/backport to stable31 |
|
/backport to stable30 |
06fb629 to
5e2f125
Compare
|
/compile |
This commits addresses an annoyance where the share input placeholder would suggest sharing via federated cloud ID even if federation was disabled. Signed-off-by: nfebe <fenn25.fn@gmail.com>
8674e92 to
e7f4de6
Compare
|
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
| } | ||
| return this.config.showFederatedSharesAsInternal | ||
| return !this.config.showFederatedSharesAsInternal && !this.config.isFederationEnabled | ||
| ? t('files_sharing', 'Email') | ||
| : t('files_sharing', 'Email, federated cloud ID') |
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.
This change looks suspicious.
I would have expected this.config.showFederatedSharesAsInternal || !this.config.isFederationEnabled?
@nfebe
This commits addresses an annoyance where the share input placeholder would suggest sharing via federated cloud ID even if federation was disabled.