update: best visibility of concerts or rehersal in the diary, add button do delete a concert

This commit is contained in:
Nathan FONTEYNE 2026-07-10 14:30:36 +02:00
parent 49979fda39
commit 4610143e2f
2 changed files with 10 additions and 2 deletions

View file

@ -174,6 +174,8 @@ function showHistoryDetail(id) {
getSetlist: () => api.get('/api/setlists/next'),
createSetlist: (data) => api.post('/api/setlists', data),
emptyMessage: 'Aucun concert à venir pour le moment.',
allowDelete: true,
onDeleted: () => nextEditor.load(),
});
document.getElementById('tab-next').addEventListener('click', () => switchTab('next'));