Skip to content

Commit

Permalink
Restore deleted non-clickability of Lans in Infra/Networking🌳 🐞
Browse files Browse the repository at this point in the history
  • Loading branch information
skateman committed Jul 30, 2019
1 parent a9f371a commit 4ba6f1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/presenters/tree_builder_infra_networking.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ class TreeBuilderInfraNetworking < TreeBuilder
has_kids_for Switch, [:x_get_tree_switch_kids]
has_kids_for EmsFolder, [:x_get_tree_folder_kids]

def override(node, object, _pid, _options)
node[:selectable] = false if object.kind_of?(Lan)
end

private

def tree_init_options
Expand Down

0 comments on commit 4ba6f1b

Please sign in to comment.