From 621d077c8de4e48fe22b75267610b0e9048f793c Mon Sep 17 00:00:00 2001 From: David Mendez <dmendez@ebi.ac.uk> Date: Tue, 22 Nov 2022 10:31:31 +0000 Subject: [PATCH] Heatmap: use store for axis data --- layouts/prototypes.vue | 25 +++++++++++++++++++++++++ pages/prototypes/heatmap.vue | 1 + web-components-submodule | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 layouts/prototypes.vue diff --git a/layouts/prototypes.vue b/layouts/prototypes.vue new file mode 100644 index 0000000..1b226ee --- /dev/null +++ b/layouts/prototypes.vue @@ -0,0 +1,25 @@ +<template> + <v-app class="the-app"> + <Notifications /> + <EubopenAppBar /> + <v-container><nuxt /></v-container> + </v-app> +</template> + +<script> +import EubopenAppBar from '~/components/Masthead/EubopenAppBar.vue' +import Notifications from '~/web-components-submodule/components/common/Notifications.vue' + +export default { + components: { + EubopenAppBar, + Notifications, + }, + computed: { + searchTerm() { + return this.$route.params.term + }, + }, +} +</script> +<style scoped></style> diff --git a/pages/prototypes/heatmap.vue b/pages/prototypes/heatmap.vue index a77c7e8..5e027f1 100644 --- a/pages/prototypes/heatmap.vue +++ b/pages/prototypes/heatmap.vue @@ -8,6 +8,7 @@ export default { components: { Heatmap, }, + layout: 'prototypes', } </script> diff --git a/web-components-submodule b/web-components-submodule index 4dc5507..5295431 160000 --- a/web-components-submodule +++ b/web-components-submodule @@ -1 +1 @@ -Subproject commit 4dc5507ebb7e80edf2e7feb68972a4f348c45579 +Subproject commit 5295431e44ea24ce08afc5416f1d256bb5688c2a -- GitLab