dev spring-boot-devtools

This commit is contained in:
devezhao 2021-09-30 14:37:21 +08:00
parent c9a7c570c1
commit f386408a01
2 changed files with 4 additions and 2 deletions

View file

@ -225,13 +225,15 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
-->
<!-- Use Live Reload: https://docs.spring.io/spring-boot/docs/current/reference/html/using.html#using.devtools.livereload -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>provided</scope>
<optional>true</optional>
</dependency>
-->
<!-- Use SPEC -->
<dependency>
<groupId>org.springframework</groupId>

View file

@ -183,7 +183,7 @@ class PlanBoxes extends React.Component {
$('.task-list').sortable('option', 'disabled', this.state.sort !== 'seq')
}
if (this.state.search || this.state.filter) {
if (this.state.search || (this.state.filter && this.state.filter.items.length > 0)) {
$('.J_search .indicator-primary').removeClass('hide')
} else {
$('.J_search .indicator-primary').addClass('hide')