diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-01-23 12:11:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-23 12:11:48 +0100 |
commit | 151523917de93351032f88af81265f1cd1fbb997 (patch) | |
tree | 39d1c278da2bdff767e4e5aa883fe088869dbbd9 /apps/federatedfilesharing | |
parent | 13846ac2a8e96512b802111ca6c0555c7e795b69 (diff) | |
parent | f0b98d64697f25c6ed11dcf229c22d92d8c4fdd2 (diff) | |
download | nextcloud-server-151523917de93351032f88af81265f1cd1fbb997.tar.gz nextcloud-server-151523917de93351032f88af81265f1cd1fbb997.zip |
Merge pull request #36250 from nextcloud/fix/add-success-message-to-personal-settings-button
Add success message to personal settings clipboard button
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r-- | apps/federatedfilesharing/src/components/PersonalSettings.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/src/components/PersonalSettings.vue b/apps/federatedfilesharing/src/components/PersonalSettings.vue index 330236344ef..745c7af9c8d 100644 --- a/apps/federatedfilesharing/src/components/PersonalSettings.vue +++ b/apps/federatedfilesharing/src/components/PersonalSettings.vue @@ -87,7 +87,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. </template> <script> -import { showError } from '@nextcloud/dialogs' +import { showError, showSuccess } from '@nextcloud/dialogs' import { loadState } from '@nextcloud/initial-state' import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection' import NcButton from '@nextcloud/vue/dist/Components/NcButton' @@ -162,6 +162,7 @@ export default { } await navigator.clipboard.writeText(this.cloudId) this.isCopied = true + showSuccess(t('federatedfilesharing', 'Copied!')) this.$refs.clipboard.$el.focus() }, goTo(url) { |