Skip to content

Commit

Permalink
Add tooltip to disabled workflow logs toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartc committed Feb 28, 2025
1 parent 5bf2ddf commit 4a50aa9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/lightning_web/live/workflow_live/components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ defmodule LightningWeb.WorkflowLive.Components do
type="toggle"
field={@form[:enable_job_logs]}
disabled={!@can_edit_run_settings}
tooltip={
!@can_edit_run_settings &&
"You don't have permission to edit this setting."
}
/>
</div>
</div>
Expand Down

0 comments on commit 4a50aa9

Please sign in to comment.