diff --git a/src/app.ts b/src/app.ts index 4d257e8..ae25b76 100644 --- a/src/app.ts +++ b/src/app.ts @@ -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"; diff --git a/src/app2.ts b/src/app2.ts index f174b4d..0044597 100644 --- a/src/app2.ts +++ b/src/app2.ts @@ -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"; diff --git a/src/router/index.ts b/src/router/index.ts index b0778d8..c1d6964 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -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 = [ { diff --git a/src/router/route1.ts b/src/router/route1.ts index 00993eb..fe60feb 100644 --- a/src/router/route1.ts +++ b/src/router/route1.ts @@ -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); diff --git a/src/views/dataset-detail.component.ts/dataset-detail.component.ts b/src/views/dataset-detail.component/dataset-detail.component.ts similarity index 98% rename from src/views/dataset-detail.component.ts/dataset-detail.component.ts rename to src/views/dataset-detail.component/dataset-detail.component.ts index ccae28a..994e6f1 100644 --- a/src/views/dataset-detail.component.ts/dataset-detail.component.ts +++ b/src/views/dataset-detail.component/dataset-detail.component.ts @@ -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; diff --git a/src/views/dataset-detail.component.ts/dataset-detail.component.vue b/src/views/dataset-detail.component/dataset-detail.component.vue similarity index 98% rename from src/views/dataset-detail.component.ts/dataset-detail.component.vue rename to src/views/dataset-detail.component/dataset-detail.component.vue index 2f0372a..f8853c7 100644 --- a/src/views/dataset-detail.component.ts/dataset-detail.component.vue +++ b/src/views/dataset-detail.component/dataset-detail.component.vue @@ -56,7 +56,7 @@