diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 262e9bfa93e493f9e807b751354ab0a9a2f74853..ba2c72e430eee2065efd8fce0f5eece6a535a045 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ workflow: - if: $CI_COMMIT_TAG != null build-dev: - image: node:latest + image: node:16 tags: - spraaksamlingene_01 stage: build @@ -36,7 +36,7 @@ build-dev: - dist build-prod: - image: node:latest + image: node:16 tags: - spraaksamlingene_01 stage: build diff --git a/src/components/CompoundList.vue b/src/components/CompoundList.vue index 0189fc94ac59e5d6d45c91470bcf2b671b372738..fd02c8520342469b2dd9c1ca9ae2aedc03a208f8 100644 --- a/src/components/CompoundList.vue +++ b/src/components/CompoundList.vue @@ -5,10 +5,10 @@ <li :key="index" v-for="(item, index) in body.elements" - ><router-link + >{{' '}}<router-link :to="'/' + dictionary + '/' + item.article_id + (item.definition_id ? '#def'+item.definition_id : '')" @click.native="article_link_click(item)" - > {{item.lemmas[0].lemma}}</router-link> + >{{item.lemmas[0].lemma}}</router-link> </li> </ul> </li>