File tree Expand file tree Collapse file tree
front-end/src/renderer/pages/TransactionDetails Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ import {
3030 computeSignatureKey ,
3131 getAccountIdWithChecksum ,
3232 getAccountNicknameFromId ,
33+ getErrorMessage ,
3334 getStatusFromCode ,
3435 getUInt8ArrayFromBytesString ,
3536 hexToUint8Array ,
@@ -54,6 +55,10 @@ import TransactionId from '@renderer/components/ui/TransactionId.vue';
5455import ExpiringBadge from ' @renderer/pages/TransactionDetails/components/ExpiringBadge.vue' ;
5556import useNotificationsStore from ' @renderer/stores/storeNotifications.ts' ;
5657import { PublicKeyOwnerCache } from ' @renderer/caches/backend/PublicKeyOwnerCache.ts' ;
58+ import { ToastManager } from ' @renderer/utils/ToastManager.ts' ;
59+
60+ /* Injectables */
61+ const toastManager = ToastManager .inject ();
5762
5863/* Stores */
5964const user = useUserStore ();
@@ -225,8 +230,9 @@ async function fetchTransaction() {
225230 publicKeyOwnerCache ,
226231 user .selectedOrganization ,
227232 );
228- } catch {
233+ } catch ( error ) {
229234 signatureKeyObject .value = null ;
235+ toastManager .error (getErrorMessage (error , ' Failed to compute signature key' ));
230236 }
231237 }
232238
You can’t perform that action at this time.
0 commit comments