Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-webresources
Commits
b90eeb28
Commit
b90eeb28
authored
Jan 27, 2022
by
Gradl, Tobias
Browse files
446: Reimplement automatic online crawl capabilities (OPENED)
Task-Url:
search#446
parent
b6183a95
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/collections/list.js
View file @
b90eeb28
...
...
@@ -137,10 +137,9 @@ CollectionsEditor.prototype.getIcon = function(entity) {
};
CollectionsEditor
.
prototype
.
getState
=
function
(
entity
)
{
console
.
log
(
this
.
autoOnline
);
if
(
entity
.
error
)
{
return
"
error
"
}
else
if
(
entity
.
warning
||
(
entity
.
dataset
.
outdated
&&
!
this
.
autoOnline
)
)
{
}
else
if
(
entity
.
warning
||
(
entity
.
dataset
.
outdated
&&
!
this
.
autoOnline
)
||
(
!
entity
.
dataset
.
outdated
&&
entity
.
dataset
.
docs
==
0
)
)
{
return
"
warning
"
}
else
if
(
entity
.
processing
||
entity
.
waiting
||
entity
.
unknown
||
entity
.
dataset
.
outdated
||
entity
.
dataset
.
docs
==
0
)
{
return
"
info
"
;
...
...
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