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:
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);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user