Skip to content

Commit

Permalink
Remove danger hint from close session confirmation when it has a file (
Browse files Browse the repository at this point in the history
…#2888)

Co-authored-by: Jonatan Kłosko <[email protected]>
  • Loading branch information
tubedude and jonatanklosko authored Dec 5, 2024
1 parent 36bea70 commit 8fdbf77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/livebook_web/helpers/session_helpers.ex
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ defmodule LivebookWeb.SessionHelpers do
title: "Close session",
description: description,
confirm_text: "Close session",
confirm_icon: "close-circle-line"
confirm_icon: "close-circle-line",
danger: session.file == nil
)
end

Expand Down

0 comments on commit 8fdbf77

Please sign in to comment.