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