mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(fix) fix back button on space edit page
This commit is contained in:
parent
637ced05dc
commit
8833fe593a
@ -4,6 +4,7 @@
|
||||
|
||||
- Fix a bug: fix ReservationReminderWorker, was sending reservation reminder to users with a event reservation not validated by admin + adds tests for all scenarios
|
||||
- Fix a bug: admin could not create new SupportingDocumentType (problem was on js side)
|
||||
- Fix a bug: fix back button on space edit page
|
||||
|
||||
## v6.1.2 2023 October 2
|
||||
|
||||
|
@ -268,6 +268,12 @@ Application.Controllers.controller('EditSpaceController', ['$scope', '$state', '
|
||||
return space;
|
||||
}
|
||||
|
||||
/**
|
||||
* Changes the current user's view, redirecting him to the spaces list
|
||||
*/
|
||||
$scope.cancel = function () { $state.go('app.public.spaces_list'); };
|
||||
|
||||
|
||||
// Using the SpacesController
|
||||
return new SpacesController($scope, $state);
|
||||
}]);
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div class="row no-gutter">
|
||||
<div class="col-md-1 hidden-xs">
|
||||
<section class="heading-btn">
|
||||
<a ng-click="backPrevLocation($event)"><i class="fas fa-long-arrow-alt-left "></i></a>
|
||||
<a ng-click="cancel()"><i class="fas fa-long-arrow-alt-left "></i></a>
|
||||
</section>
|
||||
</div>
|
||||
<div class="col-md-8 b-l b-r">
|
||||
|
Loading…
x
Reference in New Issue
Block a user