diff --git a/src/main/frontend/db.cljs b/src/main/frontend/db.cljs index 40680dcf65..891a2796bb 100644 --- a/src/main/frontend/db.cljs +++ b/src/main/frontend/db.cljs @@ -73,7 +73,7 @@ (defn set-file-last-modified-at! "Refresh file timestamps to DB" [repo path last-modified-at] - (when (and repo path last-modified-at) + (when (and repo (not (config/db-based-graph? repo)) path last-modified-at) (transact! repo [{:file/path path :file/last-modified-at last-modified-at}] {})))