Skip to content

Commit

Permalink
Merge pull request #7175 in SW/shopware from ntr/5.5/fix-error-messag…
Browse files Browse the repository at this point in the history
…e to 5.5

* commit 'affccf3da82ccec36a8f3d69d4fdd4de104e8470':
  NTR - Fix updater error message
  • Loading branch information
soebbing committed Nov 28, 2018
2 parents 97a7788 + affccf3 commit e65ad0e
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ Ext.define('Shopware.apps.Index.view.SwagUpdateMenu', {
var result = Ext.decode(response.responseText);

if (!result.success) {
Shopware.Notification.createStickyGrowlMessage({
title: snippets.errorTitle,
text: result.opensslMissing ? snippets.opensslMessage : result.message,
});
if (result.message && result.success === false) {
Shopware.Notification.createStickyGrowlMessage({
title: snippets.errorTitle,
text: result.opensslMissing ? snippets.opensslMessage : result.message,
});
}

return;
}
Expand Down

0 comments on commit e65ad0e

Please sign in to comment.