diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.html b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.html
new file mode 100644
index 0000000..0b344ca
--- /dev/null
+++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.html
@@ -0,0 +1 @@
+
group-form works!
diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.scss b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.spec.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.spec.ts
new file mode 100644
index 0000000..d379c16
--- /dev/null
+++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { GroupFormComponent } from './group-form.component';
+
+describe('GroupFormComponent', () => {
+ let component: GroupFormComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ imports: [GroupFormComponent]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(GroupFormComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.ts
new file mode 100644
index 0000000..f327820
--- /dev/null
+++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/forms/group-form/group-form.component.ts
@@ -0,0 +1,12 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'app-group-form',
+ standalone: true,
+ imports: [],
+ templateUrl: './group-form.component.html',
+ styleUrl: './group-form.component.scss'
+})
+export class GroupFormComponent {
+
+}
diff --git a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/group/group.component.ts b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/group/group.component.ts
index 6307176..5e8c036 100644
--- a/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/group/group.component.ts
+++ b/DigitalData.UserManager.API/ClientApp/user_manager_ui/src/app/components/group/group.component.ts
@@ -4,6 +4,8 @@ import { UserTableComponent } from '../../components/tables/user-table/user-tabl
import { RefreshService } from '../../services/refresh.service';
import { MatTabsModule } from '@angular/material/tabs';
import { GuiSelectedRow } from '@generic-ui/ngx-grid';
+import { CreationService } from '../../services/creation.service';
+import { GroupFormComponent } from '../forms/group-form/group-form.component';
@Component({
standalone: true,
@@ -15,7 +17,7 @@ import { GuiSelectedRow } from '@generic-ui/ngx-grid';
export class GroupComponent implements AfterViewInit {
initWithoutData = () => { }
private sGroupId = null;
- constructor(private refreshService: RefreshService) { }
+ constructor(private refreshService: RefreshService, private creationService: CreationService) { }
ngAfterViewInit(): void {
this.refreshService.removeAll()
@@ -24,6 +26,8 @@ export class GroupComponent implements AfterViewInit {
if(this.sGroupId)
this.userTable.fetchDataByGroupId(this.sGroupId);
});
+ this.creationService.component = GroupFormComponent
+ this.creationService.openDialog();
}
@ViewChild("groupTable") groupTable!: GroupTableComponent;