Skip to content

Commit

Permalink
Fix code syntax of profile error message
Browse files Browse the repository at this point in the history
  • Loading branch information
caleballdrin committed Aug 7, 2023
1 parent 5ce2c0b commit 9069950
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/scripts/directives/blockEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,6 @@ angular.module('confRegistrationWebApp').directive('blockEditor', function () {
}
});
});

if (profileCount > 1) {
const pType =
$scope.block.profileType == 'GENDER'
Expand All @@ -335,7 +334,6 @@ angular.module('confRegistrationWebApp').directive('blockEditor', function () {
.join(' ')
.slice(1)
.toLowerCase();

modalMessage.error(
'Only one ' + pType + ' profile block can be used per form.',
);
Expand All @@ -344,7 +342,6 @@ angular.module('confRegistrationWebApp').directive('blockEditor', function () {
}
}
};

$scope.registrationTypeName = function (id) {
if (!id) {
return;
Expand Down

0 comments on commit 9069950

Please sign in to comment.