Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Make labels not optional in IIssue
Sebastian Martinez committed 3 years ago
commit 87056cabf8424707c4893e6cee7033aacc30ac84
parent 65bf2ae38678caf6e7aa444f9a24bf4efd61f7f8
1 file changed +2 -2
modified src/issue.ts
@@ -14,7 +14,7 @@ export interface IIssue {
  state: State;
  comment: Comment;
  discussion: Thread[];
-
  labels?: Label[]; // When no labels are set, this is undefined
+
  labels: Label[];
  timestamp: number;
}

@@ -51,7 +51,7 @@ export class Issue {
  state: State;
  comment: Comment;
  discussion: Thread[];
-
  labels?: Label[]; // When no labels are set, this is undefined
+
  labels: Label[];
  timestamp: number;

  constructor(issue: IIssue) {