tab order
This commit is contained in:
@@ -39,7 +39,7 @@ final class Store {
|
||||
var reviewed: Int?
|
||||
var question: (taskId: String, itemId: String)?
|
||||
var connected = false
|
||||
private(set) var focus = Focus(tabs: [.transcript], tab: .transcript)
|
||||
private(set) var focus = Focus(tab: .transcript)
|
||||
var leadSessions: [AgentSession] = []
|
||||
let leadFeed: Feed
|
||||
var jump: (taskId: String, seq: Int64)?
|
||||
@@ -343,7 +343,7 @@ final class Store {
|
||||
func setFocus(taskId: String?? = .none, projectId: String?? = .none, tab: TaskTab? = nil) async throws {
|
||||
let task = taskId ?? focus.taskId
|
||||
let project = task != nil ? findTask(task!)?.projectId : (projectId ?? focus.projectId)
|
||||
var next = Focus(tabs: focus.tabs, tab: tab ?? focus.tab)
|
||||
var next = Focus(tab: tab ?? focus.tab)
|
||||
if let task, !task.isEmpty {
|
||||
next.taskId = task
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user