@if (error()) {
error {{ error() }}
} @if (success()) {
check_circle {{ success() }}
}
@if (assignmentType === 'users') {
@for (user of filteredUsers; track user._id) {
{{ user.name }} {{ user.email }}
} @if (filteredUsers.length === 0) {
No candidates found
}
} @if (assignmentType === 'groups') {
@for (group of availableGroups; track group) {
{{ group }}
} @if (availableGroups.length === 0) {
No groups found
}
}
upload_file @if (fileName()) { {{ fileName() }} } @else { Click to select an Excel file }