AcclaroInc / craft-translations

Easily manage your Craft CMS website translations and drive global growth with simplified translation workflows.
https://plugins.craftcms.com/translations
Other
9 stars 11 forks source link

fixed: error shown in dev mode when a new update is available #464

Closed bhupeshappfoster closed 9 months ago

bhupeshappfoster commented 10 months ago

Pull Request

Description:

A twig error was shown when the dashboard is opened with craft running in dev mode and a new update of plugin is available.

Related Issue(s):

Changes Made:

The update variable obtained as a response from craft update api used to be an object as the old code tries to check a key releases and now it's a boolean value so removed that check to prevent error.

Added:

Changed:

-

Deprecated:

-

Removed:

Fixed:

-

Security:

-

Testing:

[Describe the testing performed to ensure the changes are functioning as expected.]

Quality Assurance (QA):

Resources:

Screenshots (if applicable): image

Wrapping up

Checklist:

Additional Notes: [Include any additional notes, considerations, or context that may be relevant.]