Skip to content

Commit 607563b

Browse files
authored
Merge pull request #121 from PSMRI/amm-2132
fix: amm-2132 error msg handled
2 parents 9a3bcf8 + bdcd372 commit 607563b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/app-modules/inventory/physical-stock-entry/physical-stock-entry.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ export class PhysicalStockEntryComponent implements OnInit, OnChanges, DoCheck {
235235
'success',
236236
);
237237
this.reset();
238-
} else this.dialogService.alert(response.status, 'error');
238+
} else this.dialogService.alert(response.errorMessage, 'error');
239239
},
240240
(err) => {
241241
this.dialogService.alert(err, 'error');

0 commit comments

Comments
 (0)