Skip to content

Commit

Permalink
feat(bedrock): check if plugin webconsole is available (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
andypf authored Oct 9, 2024
1 parent fa59ea4 commit 9f14403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/application/_breadcrumb.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
= current_user && render_navigation(expand_all: true, renderer: :fancy_list, context: navigation_context(@scoped_domain_name, @scoped_project_name))

.special-crumb
- if services.available?(:webconsole) && current_user && current_user.is_allowed?('webconsole:application_get') && @scoped_project_fid && plugin_name!='webconsole'
- if services.available?(:webconsole) && plugin_available?(:webconsole) && current_user && current_user.is_allowed?('webconsole:application_get') && @scoped_project_fid && plugin_name!='webconsole'
= link_to 'javascript:void(0)', class: 'solo-icon-link', data: {trigger: 'webconsole:open'} do
%span.fa-stack
%i.fa.fa-square.fa-stack-2x
Expand Down

0 comments on commit 9f14403

Please sign in to comment.