workflow, handle missing state name
For some reason, some of my stories do not appear to have state name. This is most likely a bug (either with this mode or the API), regardless the missing name should be handled gracefully.
This commit is contained in:
parent
ae8d046491
commit
489b37d17d
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ If set to nil, will never create stories with labels")
|
||||||
(-map (lambda (cell) (cons (cdr cell) (car cell)))
|
(-map (lambda (cell) (cons (cdr cell) (car cell)))
|
||||||
org-clubhouse-state-alist)))
|
org-clubhouse-state-alist)))
|
||||||
(or (alist-get-equal state-name inv-state-name-alist)
|
(or (alist-get-equal state-name inv-state-name-alist)
|
||||||
(s-upcase state-name))))
|
(if state-name (s-upcase state-name) "UNKNOWN"))))
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; Prompting
|
;;; Prompting
|
||||||
|
|
Loading…
Reference in a new issue