Commit 0f4712d6 authored by Marvin Karegyeya's avatar Marvin Karegyeya Committed by Fatih Acet

Remove all references to BoardService in board_form.vue

parent 4f8b8421
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
if (this.board.name.length === 0) return; if (this.board.name.length === 0) return;
this.isLoading = true; this.isLoading = true;
if (this.isDeleteForm) { if (this.isDeleteForm) {
gl.boardService boardsStore
.deleteBoard(this.currentBoard) .deleteBoard(this.currentBoard)
.then(() => { .then(() => {
visitUrl(boardsStore.rootPath); visitUrl(boardsStore.rootPath);
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
this.isLoading = false; this.isLoading = false;
}); });
} else { } else {
gl.boardService boardsStore
.createBoard(this.board) .createBoard(this.board)
.then(resp => resp.data) .then(resp => resp.data)
.then(data => { .then(data => {
......
---
title: Remove all reference to BoardService in board_form.vue
merge_request: 20158
author: nuwe1
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment