mirror of
https://github.com/outline/outline.git
synced 2026-11-25 15:15:15 +03:00
Show correct icon & color for GitHub draft PR
This commit is contained in:
1 parent
e503225f04
commit
1206e2cf77
6 files changed
+26
-43
No files matched your search
@@ -279,7 +279,8 @@ export class GitHub {
|
||||
},
|
||||
state: {
|
||||
name: prState,
|
||||
color: GitHubUtils.getColorForStatus(prState),
|
||||
color: GitHubUtils.getColorForStatus(prState, !!pr.draft),
|
||||
draft: pr.draft,
|
||||
},
|
||||
createdAt: pr.created_at,
|
||||
transformed_unfurl: true,
|
||||
|
||||
Reference in new issue
Block a user