From e742e2ea776d2da04f654e4881209d869fbe0979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Weller?= Date: Sat, 15 Jun 2019 00:23:27 +0200 Subject: [PATCH] revert broken copy urls --- components/Card.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/Card.vue b/components/Card.vue index b4c0d7f..9a99fb2 100644 --- a/components/Card.vue +++ b/components/Card.vue @@ -18,8 +18,8 @@ export default { let reference = this.createReferenceTag(this.$props.title) - await this.$copyText(`https://webgems.io${currentPath}/?card=${reference}`) - this.$router.push(`${currentPath}/?card=${reference}`) + await this.$copyText(`https://webgems.io${currentPath}?card=${reference}`) + this.$router.push(`${currentPath}?card=${reference}`) } catch (e) { console.error(e); } @@ -32,8 +32,6 @@ export default { checkReference(){ if(this.$route.query.card) { const query = this.$route.query.card - console.log(query); - const title = this.createReferenceTag(this.$props.title) return title === query