Skip to content

Commit

Permalink
fix: hide tags field on community license
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Jun 28, 2023
1 parent 3334570 commit 58999a8
Show file tree
Hide file tree
Showing 2 changed files with 229 additions and 225 deletions.
4 changes: 4 additions & 0 deletions lib/avo/fields/tags_field.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ def fetch_values_from
end
end

def visible?
super if Avo::App.license.has_with_trial(:advanced_fields)
end

private

def fetched_labels
Expand Down
Loading

0 comments on commit 58999a8

Please sign in to comment.