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