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

Do not invoke view details callback on notifications without links #4651

Merged
merged 1 commit into from
Sep 13, 2018

Conversation

skateman
Copy link
Member

When clicking on a disabled View Details link in the notification drawer, it displays an error. By preferring the notification.actionCallback over customScope.viewSubjectDetails this problem is gone as the actionCallback is only set when the link is enabled. This makes the viewSubjectDetails function obsolete.

Fixes #4648

@miq-bot add_label bug, gaprindashvili/no

@miq-bot
Copy link
Member

miq-bot commented Sep 13, 2018

Checked commit skateman@4875c5f with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. ⭐

@mzazrivec mzazrivec self-assigned this Sep 13, 2018
@mzazrivec mzazrivec added this to the Sprint 95 Ending Sep 24, 2018 milestone Sep 13, 2018
@mzazrivec mzazrivec merged commit a3de0df into ManageIQ:master Sep 13, 2018
@skateman skateman deleted the notification-actioncallback branch September 13, 2018 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants