Skip to content

Commit b741010

Browse files
committed
#178: fix heimat button not visible in report without restart
1 parent bf4478b commit b741010

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/de/doubleslash/keeptime/view/ReportController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ private Node createCopyWorkButton(final Work w) {
532532
}
533533

534534
public void update() {
535+
heimatSyncButton.setVisible(model.getHeimatSettings().isHeimatActive());
535536
updateReport(this.currentReportDate);
536537
}
537538

src/test/java/de/doubleslash/keeptime/controller/HeimatControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ void shouldCombineAllWorksAndProjectsWhenMultipleProjectsAreMappedToSame() {
288288
() -> assertThat(mapping.projects(), Matchers.containsInAnyOrder(workProject1, workProject2)));
289289
}
290290

291-
// shouldDisableShouldBeSyncedWhenAlreadyPresentInHeimat
291+
// shouldDisableShouldBeSyncedWhenAlreadyPresentInHeimat (nice 2 have)
292292

293293
@Test
294294
void shouldShowHeimatTimeWhenProjectIsNotMappedInKeeptime() {

0 commit comments

Comments
 (0)