1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

[bug] unable to add a new authorized file type for project's CAD files

This commit is contained in:
Sylvain 2021-03-24 15:39:18 +01:00
parent 56cf638d54
commit 78b007a9ec
2 changed files with 15 additions and 12 deletions

View File

@ -1,9 +1,11 @@
# Changelog Fab-manager
- Fix a bug: unable to add a new authorized file type for project's CAD files
## v4.7.6 2021 March 24
- Ability to disable the trainings module
- Ability to set the address as a mandatory field
- The address is new requested when creating an account
- The address is now requested when creating an account
- The profile completion page is less fuzzy for people landing on it without enabled SSO
- Prevent showing error message when testing for old versions during upgrade
- In the email notification, sent to admins on account creation, show the group of the user

View File

@ -49,17 +49,18 @@ Application.Directives.directive('selectMultipleSetting', ['Setting', 'growl', '
titleNew: function () { return $scope.titleNew; },
descriptionNew: function () { return $scope.descriptionNew; }
},
controller: function ($scope, $uibModalInstance, titleNew, descriptionNew) {
$scope.value = undefined;
$scope.titleNew = titleNew;
$scope.descriptionNew = descriptionNew;
$scope.ok = function () {
$uibModalInstance.close($scope.value);
};
$scope.dismiss = function () {
$uibModalInstance.dismiss('cancel');
};
}
controller: ['$scope', '$uibModalInstance', 'titleNew', 'descriptionNew',
function ($scope, $uibModalInstance, titleNew, descriptionNew) {
$scope.value = undefined;
$scope.titleNew = titleNew;
$scope.descriptionNew = descriptionNew;
$scope.ok = function () {
$uibModalInstance.close($scope.value);
};
$scope.dismiss = function () {
$uibModalInstance.dismiss('cancel');
};
}]
}).result.finally(null).then(function (val) {
const options = Array.from($scope.options);
if (typeof $scope.beforeAdd === 'function') { val = $scope.beforeAdd(val); }