huskies: merge 946
This commit is contained in:
@@ -146,7 +146,7 @@ fn find_story_name(_root: &std::path::Path, num_str: &str) -> Option<String> {
|
||||
let items = crate::crdt_state::read_all_items()?;
|
||||
for item in items {
|
||||
if item.story_id().split('_').next().unwrap_or("") == num_str {
|
||||
return item.name().map(str::to_string);
|
||||
return Some(item.name().to_string());
|
||||
}
|
||||
}
|
||||
None
|
||||
|
||||
Reference in New Issue
Block a user