mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-27 13:56:21 +08:00
File system form - typo (#2324)
This commit is contained in:
parent
c6778513ce
commit
dd1039656d
1 changed files with 2 additions and 2 deletions
|
|
@ -88,7 +88,7 @@ defmodule LivebookWeb.Hub.FileSystemFormComponent do
|
|||
|
||||
def handle_event("save", %{"file_system" => attrs}, socket) do
|
||||
with {:ok, file_system} <- FileSystems.update_file_system(socket.assigns.file_system, attrs),
|
||||
:ok <- check_file_system_conectivity(file_system),
|
||||
:ok <- check_file_system_connectivity(file_system),
|
||||
:ok <- save_file_system(file_system, socket) do
|
||||
message =
|
||||
case socket.assigns.mode do
|
||||
|
|
@ -107,7 +107,7 @@ defmodule LivebookWeb.Hub.FileSystemFormComponent do
|
|||
end
|
||||
end
|
||||
|
||||
defp check_file_system_conectivity(file_system) do
|
||||
defp check_file_system_connectivity(file_system) do
|
||||
default_path = FileSystem.default_path(file_system)
|
||||
|
||||
case FileSystem.list(file_system, default_path, false) do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue