summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing
diff options
context:
space:
mode:
authorjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-01-19 17:09:46 +0100
committerjulia.kirschenheuter <julia.kirschenheuter@nextcloud.com>2023-01-19 17:09:46 +0100
commitf0b98d64697f25c6ed11dcf229c22d92d8c4fdd2 (patch)
tree9c239997c6eea34326ab111e4f19fcb6673bf3c5 /apps/federatedfilesharing
parent9e08e4999821a0cf7c6b08fd9ab05f8d057c8362 (diff)
downloadnextcloud-server-f0b98d64697f25c6ed11dcf229c22d92d8c4fdd2.tar.gz
nextcloud-server-f0b98d64697f25c6ed11dcf229c22d92d8c4fdd2.zip
Add success message to personal settings button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r--apps/federatedfilesharing/src/components/PersonalSettings.vue3
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) {