diff --git a/src/components/IssuesPage/IssuesPageTemplate.vue b/src/components/IssuesPage/IssuesPageTemplate.vue index b46fdbd..b6386f0 100644 --- a/src/components/IssuesPage/IssuesPageTemplate.vue +++ b/src/components/IssuesPage/IssuesPageTemplate.vue @@ -35,7 +35,7 @@ - + Visibility Organization @@ -118,6 +118,10 @@ perPage: { type: Number, default: 8 + }, + isEmpty: { + type: Boolean, + default: false } }, diff --git a/src/components/Label.vue b/src/components/Label.vue index 311726e..04fc020 100644 --- a/src/components/Label.vue +++ b/src/components/Label.vue @@ -1,5 +1,5 @@ diff --git a/src/components/Modal.vue b/src/components/Modal.vue index aa92a8a..43b11b0 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -158,6 +158,7 @@ } .loading-wrapper{ + pointer-events: none; position: absolute; top: 0; bottom: 0; diff --git a/src/network/api.js b/src/network/api.js index b7dc621..17f83bf 100644 --- a/src/network/api.js +++ b/src/network/api.js @@ -136,6 +136,10 @@ export const API_REPOSITORY_RELEASE = payload => { return `${GITHUB_REST_API_BASE}/repos/${payload.owner}/${payload.repo}/releases/${payload.releaseId}` } +export const API_REPOSITORY_LATESTRELEASE = payload => { + return `${GITHUB_REST_API_BASE}/repos/${payload.owner}/${payload.repo}/releases/latest` +} + export const API_REPOSITORY_RELEASE_ASSETS = payload => { return `${GITHUB_REST_API_BASE}/repos/${payload.owner}/${payload.repo}/releases/${payload.releaseId}/assets` } diff --git a/src/pages/Repository/Compare/Compare.vue b/src/pages/Repository/Compare/Compare.vue index e62ff96..cb591a7 100644 --- a/src/pages/Repository/Compare/Compare.vue +++ b/src/pages/Repository/Compare/Compare.vue @@ -217,7 +217,7 @@

- +
@@ -227,18 +227,12 @@
-
- -
- +
Nothing to show
-
- View all tags -
-
+
{{defaultBranch}} @@ -252,11 +246,15 @@ {{item}} +
+ View all tags +
+ - +
@@ -266,18 +264,12 @@
-
- -
- -
+ +
Nothing to show
-
- View all tags -
-
+
{{defaultBranch}} @@ -291,32 +283,30 @@ {{item}} +
+ View all tags +
+ - +
-
- -
-
+
{{item}}
- +
-
- -
-
+
{{item}} @@ -600,6 +590,7 @@ } ) this.modalRefsData[meta].tags.data = this.parseTagsFromHTML(res.data) + if(this.modalRefsData[meta].tags.data.length == 0) this.modalRefsData[meta].tags.isEmpty = true }catch(e) { console.log(e) }finally{ diff --git a/src/pages/Repository/Issues/IssueDetail/IssueDetail.vue b/src/pages/Repository/Issues/IssueDetail/IssueDetail.vue index 8510357..bc8562b 100644 --- a/src/pages/Repository/Issues/IssueDetail/IssueDetail.vue +++ b/src/pages/Repository/Issues/IssueDetail/IssueDetail.vue @@ -1,74 +1,11 @@ + + +