Removed backlog frontend code
This commit is contained in:
parent
26d61113cf
commit
7f58fc0e99
2 changed files with 1 additions and 3 deletions
|
@ -59,8 +59,6 @@ $(() => {
|
||||||
gl.boardService.all()
|
gl.boardService.all()
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
resp.json().forEach((board) => {
|
resp.json().forEach((board) => {
|
||||||
if (board.list_type === 'backlog') return;
|
|
||||||
|
|
||||||
const list = Store.addList(board);
|
const list = Store.addList(board);
|
||||||
|
|
||||||
if (list.type === 'done') {
|
if (list.type === 'done') {
|
||||||
|
|
|
@ -9,7 +9,7 @@ class List {
|
||||||
this.position = obj.position;
|
this.position = obj.position;
|
||||||
this.title = obj.title;
|
this.title = obj.title;
|
||||||
this.type = obj.list_type;
|
this.type = obj.list_type;
|
||||||
this.preset = ['backlog', 'done', 'blank'].indexOf(this.type) > -1;
|
this.preset = ['done', 'blank'].indexOf(this.type) > -1;
|
||||||
this.filters = gl.issueBoards.BoardsStore.state.filters;
|
this.filters = gl.issueBoards.BoardsStore.state.filters;
|
||||||
this.page = 1;
|
this.page = 1;
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
|
Loading…
Reference in a new issue