fix: Improve "create and edit template" functionality (#2339)

The button label got corrected, the form can't be submitted
anymore without all required fields filled out.

Two Typescript modules got merged, because they were
almost identical. The routing module got updated to
reflect the new component.

FIXES: WEB-65
This commit is contained in:
Felix van Hove
2025-03-23 10:00:29 -06:00
committed by GitHub
parent c4cc3954bd
commit 186ec29748
25 changed files with 121 additions and 465 deletions
+2 -4
View File
@@ -10,8 +10,7 @@ import { TemplatesRoutingModule } from './templates-routing.module';
/** Custom Components */
import { TemplatesComponent } from './templates.component';
import { ViewTemplateComponent } from './view-template/view-template.component';
import { EditTemplateComponent } from './edit-template/edit-template.component';
import { CreateTemplateComponent } from './create-template/create-template.component';
import { CreateEditComponent } from './create-edit-template/create-edit-template.component';
/**
* Templates Module
@@ -28,8 +27,7 @@ import { CreateTemplateComponent } from './create-template/create-template.compo
declarations: [
TemplatesComponent,
ViewTemplateComponent,
EditTemplateComponent,
CreateTemplateComponent
CreateEditComponent
]
})
export class TemplatesModule {}