DbImage works!!

Credit Salary works!!

Refresh router created, now need to use it in angular

Errors should now show up in the frontend.
This commit is contained in:
tanshu committed 2020-05-30 01:58:17 +05:30
1 parent e3286c87ba
commit 10dbe6663d
34 files changed
+264 -233

No files matched your search

@@ -132,7 +132,7 @@ export class SettingsComponent implements OnInit {
this.toaster.show('Success', 'Lock information Updated');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Danger', error);
}
);
}
@@ -162,7 +162,7 @@ export class SettingsComponent implements OnInit {
this.toaster.show('Success', 'Data has been rebased!');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Danger', error);
}
);
}
@@ -213,7 +213,7 @@ export class SettingsComponent implements OnInit {
this.toaster.show('Success', 'Stock has been reset!');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Danger', error);
}
);
}
@@ -227,7 +227,7 @@ export class SettingsComponent implements OnInit {
this.toaster.show('Success', 'Database checked, it is fine!');
},
(error) => {
this.toaster.show('Danger', error.error);
this.toaster.show('Danger', error);
}
);
}