From b23e635509e0d7afae1a5a281278944bfc48d348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Weller?= Date: Thu, 16 May 2019 09:25:49 +0200 Subject: [PATCH] fix copy --- components/Card.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/Card.vue b/components/Card.vue index de6671c..0677507 100644 --- a/components/Card.vue +++ b/components/Card.vue @@ -24,8 +24,10 @@ export default { let reference = this.$props.title.replace(/ /g, '').toLowerCase() await this.$copyText(`https://webgems.io${currentPath}/#${reference}`) - window.location = `https://webgems.io${currentPath}/#${reference}` - // this.$router.push(`${currentPath}#${reference}`) + + this.$router.push(`${currentPath}/#${reference}`) + this.checkReference() + // window.location = `https://webgems.io${currentPath}/#${reference}` } catch (e) { console.error(e); }