mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-30 19:52:20 +01:00
(quality) error message for event reservation
This commit is contained in:
parent
acbe748157
commit
6bb74bbc6a
@ -1,6 +1,7 @@
|
|||||||
# Changelog Fab-manager
|
# Changelog Fab-manager
|
||||||
|
|
||||||
- Fix a bug: unable to show calendar for Firefox and Safari
|
- Fix a bug: unable to show calendar for Firefox and Safari
|
||||||
|
- Improved error message for event reservation
|
||||||
|
|
||||||
## v6.0.4 2023 April 25
|
## v6.0.4 2023 April 25
|
||||||
|
|
||||||
|
@ -372,7 +372,7 @@ Application.Controllers.controller('ShowEventController', ['$scope', '$state', '
|
|||||||
}
|
}
|
||||||
, function (response) {
|
, function (response) {
|
||||||
// reservation failed
|
// 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
|
// unset the attempting marker
|
||||||
$scope.attempting = false;
|
$scope.attempting = false;
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user