╭ changed ──────╮ │src/ui/Fork.zig│ ╰───────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │49 // a draft is as readable as the repo it targets │ │50 const target_role = target.role orelse return error.NotFound; │ │51 const target_record = target.repo; │ │52 + // patches that are off take their drafts with them │ │53 + if (target_record.event.patch_role == null) return error.NotFound; │ │54 const owner = (try evt.User.readById(evt.AdminDB, evt.admin_repo_opts.hash, haxy_moment, arena, owner_id)) orelse return error.NotFound;│ │55 if (!std.mem.eql(u8, target_record.event.name, identity.name)) return error.NotFound; │ │56 │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯