Skip to content
Snippets Groups Projects
Commit 8b977b29 authored by Phil Hughes's avatar Phil Hughes Committed by Fatih Acet
Browse files

Fixed some failing lint tests

parent 0904e9b1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -26,7 +26,7 @@
},
addIssues() {
const list = this.selectedList;
const issueIds = this.selectedIssues.map(issue => issue._id);
const issueIds = this.selectedIssues.map(issue => issue.globalId);
 
// Post the data to the backend
this.$http.post(this.bulkUpdatePath, {
Loading
Loading
Loading
Loading
@@ -31,13 +31,13 @@
},
methods: {
toggleIssue: ModalStore.toggleIssue.bind(ModalStore),
listHeight () {
listHeight() {
return this.$refs.list.getBoundingClientRect().height;
},
scrollHeight () {
scrollHeight() {
return this.$refs.list.scrollHeight;
},
scrollTop () {
scrollTop() {
return this.$refs.list.scrollTop + this.listHeight();
},
showIssue(issue) {
Loading
Loading
@@ -70,7 +70,8 @@
this.$refs.list.onscroll = () => {
const currentPage = Math.floor(this.issues.length / this.perPage);
 
if ((this.scrollTop() > this.scrollHeight() - 100) && !this.loadingNewPage && currentPage === this.page) {
if ((this.scrollTop() > this.scrollHeight() - 100) && !this.loadingNewPage
&& currentPage === this.page) {
this.loadingNewPage = true;
this.page += 1;
}
Loading
Loading
Loading
Loading
@@ -6,7 +6,7 @@
 
class ListIssue {
constructor (obj) {
this._id = obj.id;
this.globalId = obj.id;
this.id = obj.iid;
this.title = obj.title;
this.confidential = obj.confidential;
Loading
Loading
Loading
Loading
@@ -255,7 +255,7 @@
.form-control {
display: inline-block;
width: 210px;
margin-right: 10px
margin-right: 10px;
}
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment