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
cb730382
Commit
cb730382
authored
May 31, 2021
by
dindigala
Browse files
refactor: used camel cases
parent
0b35918b
Pipeline
#200073
passed with stages
in 3 minutes and 44 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/App.vue
View file @
cb730382
...
...
@@ -20,7 +20,7 @@
<q-page-container
class=
"root"
>
<router-view
:annotations=
"annotations"
:annotationloading=
"annotation
l
oading"
:annotation
-
loading=
"annotation
L
oading"
:collection=
"collection"
:config=
"config"
:contenttypes=
"contentTypes"
...
...
@@ -52,7 +52,7 @@ export default {
data
()
{
return
{
annotations
:
[],
annotation
l
oading
:
false
,
annotation
L
oading
:
false
,
collection
:
{},
collectiontitle
:
''
,
config
:
{},
...
...
@@ -135,7 +135,7 @@ export default {
*/
async
getAnnotations
(
url
)
{
this
.
annotations
=
[];
this
.
annotation
l
oading
=
false
;
this
.
annotation
L
oading
=
false
;
try
{
const
annotations
=
await
this
.
request
(
url
);
...
...
@@ -156,7 +156,7 @@ export default {
this
.
annotations
=
[];
this
.
$q
.
notify
({
message
:
'
No annotations available
'
});
}
finally
{
this
.
annotation
l
oading
=
true
;
this
.
annotation
L
oading
=
true
;
}
},
/**
...
...
src/components/annotations.vue
View file @
cb730382
...
...
@@ -52,7 +52,7 @@ export default {
type
:
Array
,
default
:
()
=>
[],
},
annotation
l
oading
:
{
annotation
L
oading
:
{
type
:
Boolean
,
default
:
false
,
},
...
...
@@ -86,7 +86,7 @@ export default {
this
.
ids
=
[...
doc
.
body
.
querySelectorAll
(
'
[id]
'
)].
map
((
el
)
=>
el
.
getAttribute
(
'
id
'
));
const
interval
=
setInterval
(()
=>
{
if
(
this
.
annotation
l
oading
)
{
if
(
this
.
annotation
L
oading
)
{
this
.
types
=
this
.
filterAnnotationTypes
();
clearInterval
(
interval
);
...
...
src/views/mainview.vue
View file @
cb730382
...
...
@@ -85,7 +85,7 @@ export default {
type
:
Array
,
default
:
()
=>
[],
},
annotation
l
oading
:
{
annotation
L
oading
:
{
type
:
Boolean
,
default
:
false
,
},
...
...
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