diff --git a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagDialog.java b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagDialog.java index c8709a20..3a76ebf5 100644 --- a/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagDialog.java +++ b/component/common/src/main/java/one/nem/lacerta/component/common/LacertaApplyTagDialog.java @@ -143,8 +143,7 @@ public class LacertaApplyTagDialog extends DialogFragment { private CompletableFuture> getDocumentTagArrayList(String documentId) { return CompletableFuture.supplyAsync(() -> { ArrayList documentTagArrayList = new ArrayList<>(); - - setRegisteredTagList().thenRun(() -> setAppliedTagList(documentId)).thenAccept(Void -> { + setRegisteredTagList().thenRun(() -> setAppliedTagList(documentId).join()).thenAccept(Void -> { logger.debug("getDocumentTagArrayList", "this.registeredTags.size(): " + this.registeredTags.size()); logger.debug("getDocumentTagArrayList", "this.appliedTags.size(): " + this.appliedTags.size());