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); }