mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
(quality) error message for event reservation
This commit is contained in:
parent
e90f4e3e00
commit
7e8c56b4b7
@ -1,6 +1,7 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: unable to show calendar for Firefox and Safari
|
||||
- Improved error message for event reservation
|
||||
|
||||
## v6.0.4 2023 April 25
|
||||
|
||||
|
@ -372,7 +372,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
||||
}
|
||||
, function (response) {
|
||||
// reservation failed
|
||||
growl.error(response && response.data && response.data.card && response.data.card[0] || 'server error');
|
||||
growl.error(response && response.data && _.keys(response.data)[0] && response.data[_.keys(response.data)[0]][0] || 'server error');
|
||||
// unset the attempting marker
|
||||
$scope.attempting = false;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user