Commit 89030c75 authored by dindigala's avatar dindigala
Browse files

Merge branch 'issue/#331-single-manifest' into 'develop'

fix/#331: TIDO able to diplay single manifest

See merge request !219
parents 24406ae1 b92a445a
Pipeline #224676 failed with stages
in 3 minutes and 7 seconds
......@@ -399,6 +399,11 @@ export default {
},
selectable: false,
});
if (this.manifests?.[0]?.sequence?.[0]?.id && !this.$route.query.itemurl) {
this.loaded = false;
this.$router.push({ query: { ...this.$route.query, itemurl: this.manifests?.[0]?.sequence?.[0]?.id } });
}
},
/**
* caller: *getItemUrls()*
......
......@@ -31,7 +31,7 @@
-->
<script id="tido-config" type="application/json">
{
"entrypoint": "",
"entrypoint": "https://ahikar-dev.sub.uni-goettingen.de/api/textapi/ahikar/syriac/3r678/manifest.json",
"annotations": {
"show": true,
"types": [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment