diff options
Diffstat (limited to 'apps/files_sharing/src/views/SharingTab.vue')
-rw-r--r-- | apps/files_sharing/src/views/SharingTab.vue | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/files_sharing/src/views/SharingTab.vue b/apps/files_sharing/src/views/SharingTab.vue index dc200c61df4..9900d6c562d 100644 --- a/apps/files_sharing/src/views/SharingTab.vue +++ b/apps/files_sharing/src/views/SharingTab.vue @@ -268,21 +268,20 @@ export default { }, internalShareInputPlaceholder() { - return this.config.showFederatedSharesAsInternal + return this.config.showFederatedSharesAsInternal && this.config.isFederationEnabled ? t('files_sharing', 'Share with accounts, teams, federated cloud IDs') : t('files_sharing', 'Share with accounts and teams') }, externalShareInputPlaceholder() { if (!this.isLinkSharingAllowed) { - return t('files_sharing', 'Federated cloud ID') + return this.config.isFederationEnabled ? t('files_sharing', 'Federated cloud ID') : '' } - return this.config.showFederatedSharesAsInternal + return !this.config.showFederatedSharesAsInternal && !this.config.isFederationEnabled ? t('files_sharing', 'Email') : t('files_sharing', 'Email, federated cloud ID') }, }, - methods: { /** * Update current fileInfo and fetch new data @@ -294,7 +293,6 @@ export default { this.resetState() this.getShares() }, - /** * Get the existing shares infos */ |