guide de contrib
This commit is contained in:
parent
e7f7e9e19e
commit
464e0e5499
12 changed files with 346 additions and 37 deletions
|
|
@ -33,6 +33,7 @@ export class Home implements OnInit, OnDestroy {
|
|||
selected: any | null = null;
|
||||
showTable = false;
|
||||
showFilters = false;
|
||||
showEditForm = true;
|
||||
|
||||
// Nouvelles propriétés pour le rechargement automatique et la sélection de jours
|
||||
autoReloadEnabled = true;
|
||||
|
|
@ -54,6 +55,14 @@ export class Home implements OnInit, OnDestroy {
|
|||
this.stopAutoReload();
|
||||
}
|
||||
|
||||
createEvent() {
|
||||
this.selected = null;
|
||||
//this.showTable = false;
|
||||
//this.showFilters = true;
|
||||
this.showEditForm = true;
|
||||
|
||||
}
|
||||
|
||||
loadEvents() {
|
||||
this.isLoading = true;
|
||||
const today = new Date();
|
||||
|
|
@ -194,6 +203,10 @@ export class Home implements OnInit, OnDestroy {
|
|||
this.loadEvents();
|
||||
}
|
||||
|
||||
onCanceled() {
|
||||
this.showEditForm = false;
|
||||
}
|
||||
|
||||
// Menu callbacks
|
||||
ngAfterViewInit() {
|
||||
// Wire menu callbacks if needed via querySelector; left simple for now
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue