chore: fix /Users/Akasha/Development/ontoref withoud .ontoref
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled

This commit is contained in:
Jesús Pérez 2026-04-08 11:33:35 +01:00
parent f5d1d28181
commit a6e0287c6f
Signed by: jesus
GPG key ID: 9F243E355E0BC939

View file

@ -782,6 +782,12 @@ pub async fn project_picker(State(state): State<AppState>) -> Result<Html<String
let mut projects: Vec<serde_json::Value> = Vec::new();
for proj in registry.all() {
// Skip projects that lack an .ontoref/ directory — the daemon may be
// started from an arbitrary $PWD that has not adopted the protocol.
if !proj.root.join(".ontoref").is_dir() {
continue;
}
// Sessions
let actor_list = proj.actors.list();
let sessions: Vec<serde_json::Value> = actor_list