- rename of the folder for the dataset-detail.component
This commit is contained in:
parent
eb8803d7a8
commit
3b44926ce1
|
@ -5,7 +5,7 @@ import HelloWorld from "./components/HelloWorld/HelloWorld.vue";
|
|||
import HomeViewComponent from "./views/home-view/home-view-component.vue";
|
||||
import HelpViewComponent from "./views/map-view/help-view-component.vue";
|
||||
import SearchViewComponent from "./views/search-view/search-view-component.vue";
|
||||
import DatasetDetailComponent from "./views/dataset-detail.component.ts/dataset-detail.component.vue";
|
||||
import DatasetDetailComponent from "./views/dataset-detail.component/dataset-detail.component.vue";
|
||||
import ServiceViewComponent from "./views/services-view/service-view-component.vue";
|
||||
import OaiViewComponent from "./views/oai-view/oai-view-component.vue";
|
||||
import ContactViewComponent from "./views/contact-view/contact-view-component.vue";
|
||||
|
|
|
@ -5,7 +5,7 @@ import HelloWorld from "./components/HelloWorld/HelloWorld.vue";
|
|||
import HomeViewComponent from "./views/home-view/home-view-component.vue";
|
||||
import HelpViewComponent from "./views/map-view/help-view-component.vue";
|
||||
import SearchViewComponent from "./views/search-view/search-view-component.vue";
|
||||
import DatasetDetailComponent from "./views/dataset-detail.component.ts/dataset-detail.component.vue";
|
||||
import DatasetDetailComponent from "./views/dataset-detail.component/dataset-detail.component.vue";
|
||||
import ServiceViewComponent from "./views/services-view/service-view-component.vue";
|
||||
import OaiViewComponent from "./views/oai-view/oai-view-component.vue";
|
||||
import ContactViewComponent from "./views/contact-view/contact-view-component.vue";
|
||||
|
|
|
@ -8,7 +8,7 @@ import ContactViewComponent from "@/views/contact-view/contact-view-component.vu
|
|||
import SitelinkViewComponent from "@/views/sitelink-view/sitelink-view-component.vue";
|
||||
import ImprintViewComponent from "@/views/imprint-view/imprint-view-component.vue";
|
||||
import TermsViewComponent from "@/views/terms-view/terms-view-component.vue";
|
||||
import DatasetDetailComponent from "@/views/dataset-detail.component.ts/dataset-detail.component.vue";
|
||||
import DatasetDetailComponent from "@/views/dataset-detail.component/dataset-detail.component.vue";
|
||||
|
||||
const routes = [
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// import Vue from 'vue';
|
||||
// import Router from 'vue-router';
|
||||
import { createWebHistory, createRouter } from "vue-router";
|
||||
import DatasetDetailComponent from "@/views/dataset-detail.component.ts/dataset-detail.component";
|
||||
import DatasetDetailComponent from "@/views/dataset-detail.component/dataset-detail.component";
|
||||
|
||||
// Vue.use(Router);
|
||||
|
||||
|
|
|
@ -47,11 +47,11 @@ export default class DatasetDetailComponent extends Vue {
|
|||
let term;
|
||||
if (typeof suggestion === "string") {
|
||||
term = suggestion;
|
||||
window.open("https://tethys.at/search/" + term);
|
||||
window.open("https://tethys.at/search/" + term, "_self");
|
||||
} else if (suggestion instanceof Suggestion) {
|
||||
term = suggestion.value;
|
||||
const type = suggestion.type;
|
||||
window.open("https://tethys.at/search/" + term + "/" + type);
|
||||
window.open("https://tethys.at/search/" + term + "/" + type, "_self");
|
||||
}
|
||||
} else {
|
||||
let term;
|
|
@ -56,7 +56,7 @@
|
|||
<div class="column">
|
||||
<label class="label">
|
||||
{{ getCitation() }}
|
||||
<a v-if="dataset.identifier" class="link-label" v-bind:href="'https://doi.org/' + dataset.identifier.value"
|
||||
<a v-if="dataset.identifier" target="_blank" class="link-label" v-bind:href="'https://doi.org/' + dataset.identifier.value"
|
||||
>({{ "https://doi.org/" + dataset.identifier.value }})</a
|
||||
>
|
||||
</label>
|
Loading…
Reference in New Issue
Block a user