diff --git a/src/app/features/deposit/components/routables/deposit-detail/deposit-detail.routable.ts b/src/app/features/deposit/components/routables/deposit-detail/deposit-detail.routable.ts index 9bbf8d0da49a04f2d4caa08dc82b718ae9f8d070..4334147586b2034a0aabac432398063574c3fc52 100644 --- a/src/app/features/deposit/components/routables/deposit-detail/deposit-detail.routable.ts +++ b/src/app/features/deposit/components/routables/deposit-detail/deposit-detail.routable.ts @@ -507,7 +507,7 @@ export class DepositDetailRoutable extends AbstractRoutable implements OnInit, O }).afterClosed().pipe( take(1), tap((message: string | boolean | undefined) => { - if (isNullOrUndefined(confirm) || isFalse(confirm)) { + if (isNullOrUndefined(message) || isFalse(message)) { return; } this._store.dispatch(new DepositAction.Submit(deposit.resId)); diff --git a/src/app/features/deposit/stores/deposit.action.ts b/src/app/features/deposit/stores/deposit.action.ts index dcb88e8f1c4df9adb8363e272b9e2fa1b5d9d070..d7de34c5a5ff7fd7ca9cc30fcda299cc5ecb9f49 100644 --- a/src/app/features/deposit/stores/deposit.action.ts +++ b/src/app/features/deposit/stores/deposit.action.ts @@ -217,11 +217,11 @@ export namespace DepositAction { } export class SubmitSuccess extends BaseSubAction<Submit> { - static readonly type: string = `[${state}] Submit`; + static readonly type: string = `[${state}] Submit Success`; } export class SubmitFail extends BaseSubAction<Submit> { - static readonly type: string = `[${state}] Submit`; + static readonly type: string = `[${state}] Submit Fail`; } export class Transfer extends BaseAction {