Skip to content

Commit

Permalink
Fixing formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
akoutmos committed Aug 8, 2024
1 parent 0bf0139 commit 3e269a8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions lib/prom_ex/dashboard_uploader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ defmodule PromEx.DashboardUploader do
user_provided_assigns = prom_ex_module.dashboard_assigns()
{apply_function, dashboard_opts} = Keyword.pop(dashboard_opts, :apply_function, fn dashboard -> dashboard end)

default_title = Keyword.get(user_provided_assigns, :title) ||
prom_ex_module.__otp_app__()
|> Atom.to_string()
|> Macro.camelize()
default_title =
Keyword.get(user_provided_assigns, :title) ||
prom_ex_module.__otp_app__()
|> Atom.to_string()
|> Macro.camelize()

default_dashboard_name =
dashboard_relative_path
Expand Down

0 comments on commit 3e269a8

Please sign in to comment.