#74 some code fixes
This commit is contained in:
parent
95f70f425a
commit
d81d1cf72c
@ -23,15 +23,11 @@ public class TagService {
|
|||||||
return tags
|
return tags
|
||||||
.stream()
|
.stream()
|
||||||
.map(tag -> {
|
.map(tag -> {
|
||||||
if (tag.getId() != null) {
|
if (tag.getId() != null) {
|
||||||
return getExistById(tag);
|
return getExistById(tag);
|
||||||
} else {
|
} else {
|
||||||
Tag existTag = isExistByName(tag.getTagName());
|
Tag existTag = isExistByName(tag.getTagName());
|
||||||
if (existTag != null) {
|
return existTag != null ? existTag : create(tag);
|
||||||
return existTag;
|
|
||||||
} else {
|
|
||||||
return create(tag);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}).collect(Collectors.toList());
|
}).collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -10,12 +10,6 @@
|
|||||||
<!-- Portfolio Grid -->
|
<!-- Portfolio Grid -->
|
||||||
<section class="bg-light" id="portfolio">
|
<section class="bg-light" id="portfolio">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12 text-center">
|
|
||||||
<h2 class="section-heading text-uppercase">Work hard</h2>
|
|
||||||
<h3 class="section-subheading text-muted">sometimes</h3>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-4 col-sm-6 portfolio-item">
|
<div class="col-md-4 col-sm-6 portfolio-item">
|
||||||
<a class="portfolio-link" href="./papers/papers">
|
<a class="portfolio-link" href="./papers/papers">
|
||||||
|
Loading…
Reference in New Issue
Block a user