Skip to content
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

Fix geo link could not be copied to clipboard #1091

Merged
merged 1 commit into from Jul 2, 2023

Conversation

alaskanpuffin
Copy link
Contributor

Fixes #1028. Was missing the vue-clipboard2 package which provides the this.$copyText() method used in Map.vue line 876.

@tacruc
Copy link
Collaborator

tacruc commented Jul 2, 2023

This is kind of the inverse of https://github.com/nextcloud/maps/pull/986/files, which fixed #986

As I remember at that time $this.copyText() was not working reliable and I shifted to navigator.clipboard.writeText(text)

Signed-off-by: Alaskan Puffin <alaskanpuffin@protonmail.com>
@alaskanpuffin
Copy link
Contributor Author

Fixed, that's a much cleaner solution. Thanks

@tacruc tacruc merged commit c45c503 into nextcloud:master Jul 2, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Share this location' produces 'Geo link could not be copied to clipboard`
2 participants