Added User Management to Admin Panel, reorganized some stuff
This commit is contained in:
1 parent
d83992d3ce
commit
83260af2e6
22 files changed
+439
-36
No files matched your search
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user