diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 23bd8b1b410..54b4008837d 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -731,6 +731,8 @@ def calculate_toolbars def display_back_button? # don't need to back button if @record is not there or @record doesnt have name or # evm_display_name column, i.e MiqProvisionRequest + return false if @display == "dashboard" + if (@lastaction != "show" || (@lastaction == "show" && @display != "main")) && @record && (@record.respond_to?('name') && !@record.name.nil?)