forked from geolba/tethys.frontend
- eslint formating, e.g printWidth: 160
This commit is contained in:
parent
426228705c
commit
eb6476dfcb
28 changed files with 365 additions and 281 deletions
|
@ -7,13 +7,11 @@ import { Component, Vue, Prop, Emit } from "vue-facing-decorator";
|
|||
export default class ActiveFacetCategory extends Vue {
|
||||
bar = "";
|
||||
|
||||
// @Prop([Array])
|
||||
@Prop({
|
||||
type: Array<string>,
|
||||
})
|
||||
filterItems!: string[];
|
||||
|
||||
// @Prop([String])
|
||||
@Prop({
|
||||
type: String,
|
||||
required: true,
|
||||
|
|
|
@ -14,7 +14,6 @@ export default class FacetCategory extends Vue {
|
|||
@Prop()
|
||||
facetItems!: Array<FacetItem>;
|
||||
|
||||
// @Prop([String])
|
||||
@Prop({
|
||||
type: String,
|
||||
})
|
||||
|
|
|
@ -7,7 +7,8 @@ import { OaiDataset } from "@/models/oai";
|
|||
|
||||
const DEFAULT_BASE_LAYER_NAME = "BaseLayer";
|
||||
// const DEFAULT_BASE_LAYER_URL = "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";
|
||||
const DEFAULT_BASE_LAYER_ATTRIBUTION = '© <a href="http://basemap.at" target="_blank">Basemap.at</a>, <a href="http://www.geologie.ac.at" target="_blank">Geologie.ac.at</a>';
|
||||
const DEFAULT_BASE_LAYER_ATTRIBUTION =
|
||||
'© <a href="http://basemap.at" target="_blank">Basemap.at</a>, <a href="http://www.geologie.ac.at" target="_blank">Geologie.ac.at</a>';
|
||||
|
||||
@Component({
|
||||
// selector: "app-map",
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import { Dataset } from "@/models/dataset";
|
||||
import { Component, Vue, Prop } from "vue-facing-decorator";
|
||||
// import { Prop } from "vue-property-decorator";
|
||||
|
||||
@Component({
|
||||
name: "VsResult",
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
<!-- <span>Author: {{ document.identifier.join(', ') }}</span> -->
|
||||
<!-- <span v-for="(author,index) in document.author" :key="index">{{ author }}; </span> -->
|
||||
<!-- <span>'https://doi.org/' + {{ document.identifier[0] }}</span> -->
|
||||
<a target="_blank" v-bind:href="'https://doi.org/' + document.identifier[0]"> {{ "https://doi.org/" + document.identifier[0] + " ➤" }} </a>
|
||||
<a target="_blank" v-bind:href="'https://doi.org/' + document.identifier[0]">
|
||||
{{ "https://doi.org/" + document.identifier[0] + " ➤" }} </a
|
||||
>
|
||||
<span v-if="document.author && document.author.length > 0" class="disabled">{{ document.author[0] }}</span>
|
||||
</p>
|
||||
|
||||
|
@ -28,7 +30,9 @@
|
|||
<!-- <a target="_self" v-bind:href="'dataset/' + document.id" class="ng-binding">
|
||||
{{ document.title_output }}
|
||||
</a> -->
|
||||
<router-link class="ng-binding" v-bind:to="{ name: 'dataset', params: { datasetId: document.id } }">{{ document.title_output }}</router-link>
|
||||
<router-link class="ng-binding" v-bind:to="{ name: 'dataset', params: { datasetId: document.id } }">{{
|
||||
document.title_output
|
||||
}}</router-link>
|
||||
</h4>
|
||||
|
||||
<!-- <p v-if="document.author && document.author.length > 0">
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue