progressively working deploy scenario
This commit is contained in:
1 parent
2d2b2d040b
commit
c4cc268ea8
14 files changed
+125
-72
No files matched your search
@@ -46,6 +46,13 @@ export class AdminTierFormComponent implements OnChanges {
|
||||
this.display_order = tier.display_order;
|
||||
}
|
||||
|
||||
formatError(err: any): string {
|
||||
if (err?.error?.detail) return err.error.detail;
|
||||
if (err?.error?.message) return err.error.message;
|
||||
if (err?.message) return err.message;
|
||||
return 'Failed to save. Please try again.';
|
||||
}
|
||||
|
||||
reset(): void {
|
||||
this.id = null;
|
||||
this.name = '';
|
||||
|
||||
Reference in new issue
Block a user