Skip to content

Commit 58366d7

Browse files
committed
#178: layouts. add invalid mappings again to list
1 parent 632b926 commit 58366d7

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

src/main/java/de/doubleslash/keeptime/controller/HeimatController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public ExistingAndInvalidMappings getExistingProjectMappings(List<HeimatTask> ex
372372
if (any.isEmpty()) {
373373
LOG.warn("A mapping exists but task does not exist anymore in HEIMAT! '{}'->'{}'.",
374374
mapping.get().getProject(), mapping.get().getExternalTaskId());
375-
//invalidExternalMappings.add(mapping.get());
375+
invalidExternalMappings.add(mapping.get());
376376
return new ProjectMapping(p, null);
377377
}
378378
return new ProjectMapping(p, any.get());

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ protected List<HeimatController.HeimatErrors> call() {
419419
};
420420

421421
task.setOnSucceeded(e -> {
422-
LOG.error("Task successfull");
423422
final List<HeimatController.HeimatErrors> errors = task.getValue();
424423
int closingSeconds = 5;
425424
if (!errors.isEmpty()) {

src/main/resources/layouts/externalProjectMapping.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
<Button fx:id="addNewProjectButton" mnemonicParsing="false" styleClass="secondary-button" text="Import project(s)..." />
2121
</children>
2222
</HBox>
23-
<DatePicker fx:id="tasksForDateDatePicker" layoutX="371.0" layoutY="16.0" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0" />
23+
<DatePicker fx:id="tasksForDateDatePicker" layoutX="371.0" layoutY="16.0" visible="false" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0" />
2424
</children>
2525
</AnchorPane>

src/main/resources/layouts/externalProjectSync.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<Hyperlink fx:id="externalSystemLink" layoutX="29.0" layoutY="723.0" text="Open day in HEIMAT" AnchorPane.rightAnchor="5.0" AnchorPane.topAnchor="5.0" />
2121
<HBox spacing="5.0" AnchorPane.leftAnchor="5.0" AnchorPane.topAnchor="5.0">
2222
<children>
23-
<Label text="Syncing day" />
23+
<Label text="Day to sync" />
2424
<Label fx:id="dayOfSyncLabel" text="01.01.2025" />
2525
</children>
2626
</HBox>

0 commit comments

Comments
 (0)