From 95c95d75cbeeaca104ed79987afdbffc41184792 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Fri, 29 Sep 2023 16:00:08 +0700 Subject: [PATCH] Fix loading for local files in notebook manager --- lib/livebook/notebook_manager.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/livebook/notebook_manager.ex b/lib/livebook/notebook_manager.ex index 1dfc75c1c..36e3d9b0a 100644 --- a/lib/livebook/notebook_manager.ex +++ b/lib/livebook/notebook_manager.ex @@ -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},