Commit ba044e64 authored by Florie Guibert's avatar Florie Guibert

Boards - Prevent boardsStore creation on graphQL boards

parent 1622ac99
......@@ -20,7 +20,8 @@ export default {
props: {
lists: {
type: Array,
required: true,
required: false,
default: () => [],
},
canAdminList: {
type: Boolean,
......
......@@ -68,8 +68,10 @@ export default () => {
issueBoardsApp.$destroy(true);
}
boardsStore.create();
boardsStore.setTimeTrackingLimitToHours($boardApp.dataset.timeTrackingLimitToHours);
if (!gon?.features?.graphqlBoardLists) {
boardsStore.create();
boardsStore.setTimeTrackingLimitToHours($boardApp.dataset.timeTrackingLimitToHours);
}
issueBoardsApp = new Vue({
el: $boardApp,
......
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