From cd9b2adcdd4ddd810308357f46f06966545efc8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 29 Dec 2022 13:45:52 +0100 Subject: [PATCH] Rename label -> tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rūdolfs Ošiņš --- src/lib/issue.ts | 8 ++++---- src/views/projects/Issue.svelte | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/lib/issue.ts b/src/lib/issue.ts index 962f69578..8e82765a6 100644 --- a/src/lib/issue.ts +++ b/src/lib/issue.ts @@ -14,7 +14,7 @@ export interface IIssue { state: State; comment: Comment; discussion: Thread[]; - labels: Label[]; + tags: Tag[]; timestamp: number; } @@ -37,7 +37,7 @@ export interface Comment { export type Thread = Comment; -export type Label = string; +export type Tag = string; export function groupIssues(issues: Issue[]): { open: Issue[]; @@ -59,7 +59,7 @@ export class Issue { state: State; comment: Comment; discussion: Thread[]; - labels: Label[]; + tags: Tag[]; timestamp: number; constructor(issue: IIssue) { @@ -69,7 +69,7 @@ export class Issue { this.state = issue.state; this.comment = issue.comment; this.discussion = issue.discussion; - this.labels = issue.labels; + this.tags = issue.tags; this.timestamp = issue.timestamp; } diff --git a/src/views/projects/Issue.svelte b/src/views/projects/Issue.svelte index 21fca59b8..a72ff2b91 100644 --- a/src/views/projects/Issue.svelte +++ b/src/views/projects/Issue.svelte @@ -150,14 +150,14 @@