Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ba044e64
Commit
ba044e64
authored
Jan 12, 2021
by
Florie Guibert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Boards - Prevent boardsStore creation on graphQL boards
parent
1622ac99
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
app/assets/javascripts/boards/components/board_content.vue
app/assets/javascripts/boards/components/board_content.vue
+2
-1
app/assets/javascripts/boards/index.js
app/assets/javascripts/boards/index.js
+4
-2
No files found.
app/assets/javascripts/boards/components/board_content.vue
View file @
ba044e64
...
@@ -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
,
...
...
app/assets/javascripts/boards/index.js
View file @
ba044e64
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment