Skip to content

Commit a83b902

Browse files
authored
Merge pull request #141 from PSMRI/amm-2132
fix: amm-2132 error message correction
2 parents 910ad92 + d6b21f2 commit a83b902

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
@@ -233,7 +233,7 @@ export class PhysicalStockEntryComponent implements OnInit, OnChanges, DoCheck {
233233
'success',
234234
);
235235
this.reset();
236-
} else this.dialogService.alert(response.status, 'error');
236+
} else this.dialogService.alert(response.errorMessage, 'error');
237237
},
238238
(err) => {
239239
this.dialogService.alert(err, 'error');

0 commit comments

Comments
 (0)