Skip to content

Commit 45c5b04

Browse files
committed
work
1 parent d028773 commit 45c5b04

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/resources/templates/layout/projects.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
<li>
1313
<span id="tw-project-submenu-root">
1414
<a th:href="@{/project/root}" id="project_0"
15-
th:if="${thisProject != null}"
15+
th:if="${thisProject != null or taskstateType != null}"
1616
ondrop="drop2project(event)" ondragover="allowDrop2Project(event)"
1717
class="m-2 btn btn-outline-dark btn-sm">
1818
<i class="fas fa-folder-open"></i>
1919
<span th:text="#{right.nav.projects}">Projects</span>
2020
</a>
2121
<a th:href="@{/project/root}" id="project_0"
22-
th:if="${thisProject == null}"
22+
th:if="${thisProject == null and taskstateType == null}"
2323
ondrop="drop2project(event)" ondragover="allowDrop2Project(event)"
2424
class="m-2 btn btn-dark btn-sm">
2525
<i class="fas fa-folder-open"></i>

src/main/resources/templates/taskstate/inbox.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1 class="col-md-12 mb-12">
3434
</div>
3535
<div th:if="${taskPage.getTotalElements() gt 0}" id="mytwcontent-taskpage">
3636
<div
37-
th:replace="layout/tasks :: tw-tasks-table(taskPage=${taskPage},myTaskState='INBOX', myUrlPath=@{/taskstate})">
37+
th:replace="layout/tasks :: tw-tasks-table(taskPage=${taskPage}, myTaskState='INBOX', myUrlPath=@{/taskstate})">
3838
</div>
3939
</div>
4040
<div th:if="${taskPage.getTotalElements() eq 0}" id="mytwcontent-no-taskpage">

0 commit comments

Comments
 (0)