mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-04 20:14:57 +08:00
Remove danger hint from close session confirmation when it has a file (#2888)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
parent
36bea7006a
commit
8fdbf77bc8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue