chore: fix /Users/Akasha/Development/ontoref withoud .ontoref
This commit is contained in:
parent
f5d1d28181
commit
a6e0287c6f
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
let mut projects: Vec<serde_json::Value> = Vec::new();
|
||||||
|
|
||||||
for proj in registry.all() {
|
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
|
// Sessions
|
||||||
let actor_list = proj.actors.list();
|
let actor_list = proj.actors.list();
|
||||||
let sessions: Vec<serde_json::Value> = actor_list
|
let sessions: Vec<serde_json::Value> = actor_list
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue