Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
emo
TIDO
Commits
b92a445a
Commit
b92a445a
authored
Aug 27, 2021
by
dindigala
Browse files
fix: displaying tido with single manifest
parent
24406ae1
Pipeline
#224133
passed with stages
in 5 minutes
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/App.vue
View file @
b92a445a
...
...
@@ -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()*
...
...
src/index.template.html
View file @
b92a445a
...
...
@@ -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
"
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment