Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 7233e08

Browse files
author
Dominik František Bučík
authored
Merge pull request #451 from dBucik/fix_toolbox
fix: 🐛 Fix toolbox outputs
2 parents 5ffe4c0 + ee31c3b commit 7233e08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/src/app/tools/tools.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ export class ToolsComponent implements OnInit, OnDestroy {
3434
this.toolsServiceEncryptSubscription = this.toolsService
3535
.encrypt(toEncrypt)
3636
.subscribe(encrypted => {
37-
this.encryptOutput = encrypted;
37+
this.encryptOutput = encrypted['value'];
3838
});
3939
}
4040

4141
decrypt(toDecrypt: string): void {
4242
this.toolsServiceDecryptSubscription = this.toolsService
4343
.decrypt(toDecrypt)
4444
.subscribe(decrypted => {
45-
this.decryptOutput = decrypted;
45+
this.decryptOutput = decrypted['value'];
4646
});
4747
}
4848
}

0 commit comments

Comments
 (0)