progressively working deploy scenario

This commit is contained in:
kfj001 committed 2026-06-19 19:17:22 +00:00
1 parent 2d2b2d040b
commit c4cc268ea8
14 files changed
+125 -72

No files matched your search

@@ -50,6 +50,13 @@ export class AdminEventFormComponent implements OnChanges {
this.active = event.active;
}
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.date = '';
@@ -60,6 +60,13 @@ export class AdminProgramFormComponent implements OnChanges {
}
/** Reset the form for a new entry. */
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.day_of_week = 1;
@@ -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 = '';