Skip to content
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

Image no mailpieces700 fix #43

Merged
merged 4 commits into from
Feb 23, 2020
Merged

Image no mailpieces700 fix #43

merged 4 commits into from
Feb 23, 2020

Conversation

moralmunky
Copy link
Owner

  1. Removed the code to check for and copy mail_none.gif and image-no-mailpieces700.jpg to the image path.
  2. Changed code to add the image-no-mailpieces700.jpg to the array from the custom_component folder
  3. Changed code to create the no mail gif to copy mail_none.gif from the custom component folder
  4. Updated the ImagesDelete to be a copy of the image list at that point in time instead of a reference to the images array

When copying no_mail.gif to the www path it references the file stored in the component file negating the need to keep a copy in the ww path
Remove code copying no_mail.gif and image-no-mailpieces700.jpg. Updated path for the image-no-mailpieces700.jpg when it is added to the image array if needed.
ImagesDelete was previously a reference to the images array instead of a copy of it at a certain point in time.
@firstof9 firstof9 merged commit 1e2f3ba into master Feb 23, 2020
@moralmunky moralmunky linked an issue Feb 23, 2020 that may be closed by this pull request
@moralmunky moralmunky deleted the image-no-mailpieces700-fix branch March 21, 2020 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

image-no-mailpieces700.jpg error
2 participants