Added User Management to Admin Panel, reorganized some stuff

This commit is contained in:
itzMiney committed 2025-01-03 23:59:17 +01:00
1 parent d83992d3ce
commit 83260af2e6
22 files changed
+439 -36

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
import { Component, Input, Output, EventEmitter } from '@angular/core';
import {NgIf} from '@angular/common';
@Component({
selector: 'app-modal',
templateUrl: './modal.component.html',
styleUrls: ['./modal.component.css'],
imports: [
NgIf
]
})
export class ModalComponent {
@Input() isOpen: boolean = false;
@Input() title: string = '';
@Output() onClose = new EventEmitter<void>();
closeModal() {
this.isOpen = false;
this.onClose.emit();
}
}