Skip to content

Commit

Permalink
Mark notebook as changed when hub secret is toggled (#2279)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatanklosko committed Oct 22, 2023
1 parent 1e4fa47 commit fe4e92a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/livebook/session/data.ex
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ defmodule Livebook.Session.Data do
|> with_actions()
|> set_secret(secret)
|> update_notebook_hub_secret_names()
|> set_dirty()
|> wrap_ok()
end

Expand All @@ -894,6 +895,7 @@ defmodule Livebook.Session.Data do
|> with_actions()
|> unset_secret(secret_name)
|> update_notebook_hub_secret_names()
|> set_dirty()
|> wrap_ok()
end

Expand Down

0 comments on commit fe4e92a

Please sign in to comment.