Skip to content

Commit

Permalink
just use boolean here
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Sep 19, 2023
1 parent cfa9437 commit 26f2e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dashboard/app/apps/ood_app_link.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def initialize(config = {})
@url = config.fetch(:url, '').to_s
@icon_uri = URI(config.fetch(:icon_uri, 'fas://cog').to_s)
@caption = config.fetch(:caption, nil)
@new_tab = !config.fetch(:new_tab, true).nil?
@new_tab = config.fetch(:new_tab, true)
@data = config.fetch(:data, {}).to_h
@tile = config.fetch(:tile, {}).to_h.deep_symbolize_keys
end
Expand Down

0 comments on commit 26f2e07

Please sign in to comment.