-
Notifications
You must be signed in to change notification settings - Fork 630
OHRM5X-1754: Fix PIM - ESS attachment download #1488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
22dace7
to
dd41e6e
Compare
…alidation when both are identical
e620a04
to
b501c12
Compare
5515fb9
to
9289fbd
Compare
<oxd-dialog | ||
v-if="show" | ||
class="orangehrm-confirmation-dialog orangehrm-dialog-popup" | ||
style="width: 450px" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think .orangehrm-dialog-popup
have width defined
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it has max-width
defined. I put width to keep the box size consistent since I felt it was too small when only success text was there
</div> | ||
<div | ||
class="orangehrm-text-center-align" | ||
style="overflow-wrap: break-word" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
refactor the style to class please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it didn't work when putting as a class not sure why
</oxd-text> | ||
<oxd-text v-if="failed > 0" type="card-body"> | ||
{{ failedRows.toString() }} | ||
</oxd-text> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<template v-if="failed > 0">
<oxd-text type="card-body">
{{ $t('pim.n_records_failed_to_import', {count: failed}) }}
</oxd-text>
<oxd-text type="card-body">
{{ $t('pim.failed_rows') }}
</oxd-text>
<oxd-text type="card-body">
{{ failedRows.toString() }}
</oxd-text>
</template>
}; | ||
</script> | ||
|
||
<style |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to add a stylesheet for this component.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy styles from dialog.scss
into a new stylesheet for this component?
8000
this.show = true; | ||
}); | ||
}, | ||
onConfirm() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since there is no confirmation in this dialog. better to remove these logic and use a simple v-if from parent component to show/hide the modal.
Fix for #1459 |
* OHRM5X-1791: Add required asterisk marks in LDAP config screen * OHRM5X-1785: Update changelog * OHRM5X-1761: Revert EmployeeContactDetailsAPI change in #1488 * OHRM5X-1761: Improve work email and other email validation
…gehrm#1488) * OHRM5X-1754: Fix ESS users unable to download PIM attachments * OHRM5X-1759: [PIM- Data Import] User is able to import records having the same mail address for both work and other email and an error toast is displayed when the user tries to update the email * OHRM5X-1761: [PIM- Data Import] Issues related to Importing records having same employee id and email addresses
* OHRM5X-1791: Add required asterisk marks in LDAP config screen * OHRM5X-1785: Update changelog * OHRM5X-1761: Revert EmployeeContactDetailsAPI change in orangehrm#1488 * OHRM5X-1761: Improve work email and other email validation
PR contains: