revert broken copy urls
This commit is contained in:
@@ -18,8 +18,8 @@ export default {
|
|||||||
|
|
||||||
let reference = this.createReferenceTag(this.$props.title)
|
let reference = this.createReferenceTag(this.$props.title)
|
||||||
|
|
||||||
await this.$copyText(`https://webgems.io${currentPath}/?card=${reference}`)
|
await this.$copyText(`https://webgems.io${currentPath}?card=${reference}`)
|
||||||
this.$router.push(`${currentPath}/?card=${reference}`)
|
this.$router.push(`${currentPath}?card=${reference}`)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
}
|
}
|
||||||
@@ -32,8 +32,6 @@ export default {
|
|||||||
checkReference(){
|
checkReference(){
|
||||||
if(this.$route.query.card) {
|
if(this.$route.query.card) {
|
||||||
const query = this.$route.query.card
|
const query = this.$route.query.card
|
||||||
console.log(query);
|
|
||||||
|
|
||||||
const title = this.createReferenceTag(this.$props.title)
|
const title = this.createReferenceTag(this.$props.title)
|
||||||
|
|
||||||
return title === query
|
return title === query
|
||||||
|
|||||||
Reference in New Issue
Block a user