task description auto
This commit is contained in:
@@ -19,6 +19,12 @@ typealias TaskTab = Components.Schemas.TaskTab
|
||||
typealias Snapshot = Components.Schemas.Snapshot
|
||||
typealias ServerStatus = Components.Schemas.Status
|
||||
|
||||
extension ByreTask {
|
||||
var name: String {
|
||||
title.isEmpty ? "New task" : title
|
||||
}
|
||||
}
|
||||
|
||||
struct ApiError: Error, CustomStringConvertible {
|
||||
let status: Int
|
||||
let message: String
|
||||
|
||||
Reference in New Issue
Block a user