Commit 3a3de3b1 authored by Clement Ho's avatar Clement Ho

Merge branch 'Update-boards/components/models/index.vue' into 'master'

Remove all references  to BoardsService in index.vue

See merge request gitlab-org/gitlab!20152
parents 8420dc95 f42d2bb7
<script> <script>
/* global ListIssue */ /* global ListIssue */
import { urlParamsToObject } from '~/lib/utils/common_utils'; import { urlParamsToObject } from '~/lib/utils/common_utils';
import boardsStore from '~/boards/stores/boards_store';
import ModalHeader from './header.vue'; import ModalHeader from './header.vue';
import ModalList from './list.vue'; import ModalList from './list.vue';
import ModalFooter from './footer.vue'; import ModalFooter from './footer.vue';
...@@ -109,7 +110,7 @@ export default { ...@@ -109,7 +110,7 @@ export default {
loadIssues(clearIssues = false) { loadIssues(clearIssues = false) {
if (!this.showAddIssuesModal) return false; if (!this.showAddIssuesModal) return false;
return gl.boardService return boardsStore
.getBacklog({ .getBacklog({
...urlParamsToObject(this.filter.path), ...urlParamsToObject(this.filter.path),
page: this.page, page: this.page,
......
---
title: Remove all references to BoardsService in index.vue
merge_request: 20152
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