huskies: merge 891
This commit is contained in:
@@ -215,12 +215,12 @@ pub(super) async fn tool_status(args: &Value, ctx: &AppContext) -> Result<String
|
||||
// pass the read_typed / 2_current check above, but the code is present
|
||||
// for completeness and future-proofing).
|
||||
if let Some(view) = crate::crdt_state::read_item(story_id) {
|
||||
if let Some(cb) = &view.claimed_by
|
||||
if let Some(cb) = view.claimed_by()
|
||||
&& !cb.is_empty()
|
||||
{
|
||||
front_matter.insert("claimed_by".to_string(), json!(cb));
|
||||
}
|
||||
if let Some(ca) = view.claimed_at
|
||||
if let Some(ca) = view.claimed_at()
|
||||
&& ca > 0.0
|
||||
{
|
||||
front_matter.insert("claimed_at".to_string(), json!(ca));
|
||||
|
||||
Reference in New Issue
Block a user