diff --git a/src/base/projects/Header.svelte b/src/base/projects/Header.svelte
index 4332a8c5e..6224f5d1f 100644
--- a/src/base/projects/Header.svelte
+++ b/src/base/projects/Header.svelte
@@ -81,6 +81,12 @@
.clickable:hover {
background-color: var(--color-foreground-background-lighter);
}
+ .not-allowed {
+ cursor: not-allowed;
+ }
+ .not-allowed.widget {
+ color: var(--color-foreground-faded);
+ }
.clone {
color: var(--color-yellow);
background-color: var(--color-yellow-background);
@@ -196,6 +202,10 @@
{groupIssues(issues).open.length} issue(s)
+ {:catch e}
+
+ 0 issue(s)
+
{/await}
{tree.stats.contributors} contributor(s)
diff --git a/src/project.ts b/src/project.ts
index a6d51c0ba..af0587268 100644
--- a/src/project.ts
+++ b/src/project.ts
@@ -235,11 +235,10 @@ export class Project implements ProjectInfo {
seed: Seed;
peers: Peer[];
branches: Branches;
- issues: Issue[];
profile: Profile | null;
anchors: string[];
- constructor(urn: string, info: ProjectInfo, seed: Seed, peers: Peer[], branches: Branches, profile: Profile | null, anchors: string[], issues: Issue[]) {
+ constructor(urn: string, info: ProjectInfo, seed: Seed, peers: Peer[], branches: Branches, profile: Profile | null, anchors: string[]) {
this.urn = urn;
this.head = info.head;
this.name = info.name;
@@ -250,7 +249,6 @@ export class Project implements ProjectInfo {
this.seed = seed;
this.peers = peers;
this.branches = branches;
- this.issues = issues;
this.profile = profile;
this.anchors = anchors;
}
@@ -386,7 +384,6 @@ export class Project implements ProjectInfo {
const info = await Project.getInfo(id, seed.api);
const urn = isRadicleId(id) ? id : info.urn;
const anchors = profile ? await profile.confirmedProjectAnchors(urn, config) : [];
- const issues = await Project.getIssues(urn, seed.api);
// Older versions of http-api don't include the URN.
if (! info.urn) info.urn = urn;
@@ -407,6 +404,6 @@ export class Project implements ProjectInfo {
}
}
- return new Project(urn, info, seed, peers, remote.heads, profile, anchors, issues);
+ return new Project(urn, info, seed, peers, remote.heads, profile, anchors);
}
}