fix error with share link action (#269)
parent
6e89373f51
commit
1b550dea89
|
@ -567,7 +567,7 @@ export const contextMixin = {
|
|||
if (String(this.valuesPanelToShare).length) {
|
||||
shareLink += this.valuesPanelToShare
|
||||
}
|
||||
if (this.$route.query.action && this.$route.query.action !== 'create-new' && this.$route.query.action !== 'reference' && this.$route.query.action !== 'advancedQuery') {
|
||||
if (this.$route.query.action && this.$route.query.action !== 'create-new' && this.$route.query.action !== 'reference' && this.$route.query.action !== 'advancedQuery' && this.$route.query.action !== 'criteria') {
|
||||
shareLink = window.location.href
|
||||
}
|
||||
}
|
||||
|
|
|
@ -376,17 +376,20 @@ export default {
|
|||
fieldItem.isShowedFromUser = true
|
||||
fieldItem.value = parsedValueComponent({
|
||||
fieldType: fieldItem.componentPath,
|
||||
value: route.query[fieldItem.columnName]
|
||||
value: route.query[fieldItem.columnName],
|
||||
referenceType: fieldItem.referenceType
|
||||
})
|
||||
if (String(route.query.isAdvancedQuery) === String(fieldItem.isAdvancedQuery)) {
|
||||
fieldItem.value = parsedValueComponent({
|
||||
fieldType: fieldItem.componentPath,
|
||||
value: route.query[fieldItem.columnName]
|
||||
value: route.query[fieldItem.columnName],
|
||||
referenceType: fieldItem.referenceType
|
||||
})
|
||||
if (fieldItem.isRange && this.$route.query[`${fieldItem.columnName}_To`]) {
|
||||
fieldItem.valueTo = parsedValueComponent({
|
||||
fieldType: fieldItem.componentPath,
|
||||
value: route.query[`${fieldItem.columnName}_To`]
|
||||
value: route.query[`${fieldItem.columnName}_To`],
|
||||
referenceType: fieldItem.referenceType
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue