Skip to content

Commit

Permalink
Improve suggestion list
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Aug 13, 2024
1 parent 9cf701d commit 9a5ff9c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ const examples = [
type="checkbox">
</td>
<td>{{ jskos.notation(target.inScheme[0]) }}</td>
<td>{{ jskos.notation(target) }} {{ jskos.prefLabel(target, { fallbackToUri: false }) }}</td>
<td><b>{{ jskos.notation(target) }}</b> {{ jskos.prefLabel(target, { fallbackToUri: false }) }}</td>
<td>
<ul class="plainList">
<li
Expand All @@ -542,12 +542,12 @@ const examples = [
:class="{
faded: !suggestionTypes[mapping.type[0]],
}">
{{ jskos.notation(mapping.fromScheme) }}:
{{ jskos.notation(jskos.conceptsOfMapping(mapping, "from")[0]) }}
{{ jskos.notation(mapping.fromScheme) }}
<b>{{ jskos.notation(jskos.conceptsOfMapping(mapping, "from")[0]) }}</b>
{{ jskos.prefLabel(jskos.conceptsOfMapping(mapping, "from")[0], { fallbackToUri: false }) }}
{{ jskos.notation(jskos.mappingTypeByUri(mapping.type[0])) }}
{{ jskos.notation(mapping.toScheme) }}:
{{ jskos.notation(jskos.conceptsOfMapping(mapping, "to")[0]) }}
{{ jskos.notation(mapping.toScheme) }}
<b>{{ jskos.notation(jskos.conceptsOfMapping(mapping, "to")[0]) }}</b>
{{ jskos.prefLabel(jskos.conceptsOfMapping(mapping, "to")[0], { fallbackToUri: false }) }}
({{ jskos.prefLabel(mapping.creator?.[0]) || "?" }}, {{ mapping.created?.slice(0, 4) || "?" }})
<a
Expand Down

0 comments on commit 9a5ff9c

Please sign in to comment.