Fix loading for local files in notebook manager

This commit is contained in:
Jonatan Kłosko 2023-09-29 16:00:08 +07:00
parent 2a0d2dcdc3
commit 95c95d75cb

View file

@ -248,6 +248,8 @@ defmodule Livebook.NotebookManager do
|> Enum.sort_by(& &1.bucket_url)
|> Enum.map(fn fields -> Livebook.FileSystems.load(fields.type, fields) end)
file_systems = [Livebook.Config.local_file_system() | file_systems]
file_system_by_id =
for file_system <- file_systems,
do: {file_system.id, file_system},