Skip to content
Snippets Groups Projects
Commit 32773149 authored by David Mendez's avatar David Mendez
Browse files

Browsers: allow to receive url with a state id

parent 5ddb25c2
No related branches found
No related tags found
1 merge request!63Implement URL Shortening
<template>
<EBCompoundsBrowser :raw-state="state" />
<div>
state: {{ rawState }}, initialStateSavingParams:
{{ initialStateSavingParams }}
<EBCompoundsBrowser :raw-state="rawState" />
</div>
</template>
<script>
import EBCompoundsBrowser from '~/web-components-submodule/components/common/Browsers/specific_browsers/compound/eubopen/EBCompoundsBrowser.vue'
import EntityNames from '~/web-components-submodule/standardisation/EntityNames.js'
import { entityBrowserMixin } from '~/web-components-submodule/mixins/browsers/entityBrowserMixin.js'
export default {
components: {
EBCompoundsBrowser,
},
mixins: [entityBrowserMixin],
layout: 'entityBrowser',
data() {
return {
isEmbedded: false,
}
},
head() {
const titleText = `Explore all ${EntityNames.EubopenCompound.pluralEntityName}.`
const descriptionText =
......@@ -52,11 +54,6 @@ export default {
],
}
},
computed: {
state() {
return this.$route.params.state
},
},
}
</script>
......
Subproject commit aaf440409d746e6e0d7eb5b7441a4675d80507a9
Subproject commit 5c346adfd99a4de8d3d3fca218d6d1892c03bf28
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment