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
00639265
Commit
00639265
authored
Apr 01, 2019
by
Phil Hughes
Committed by
Bob Van Landuyt
Apr 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed cached local canUploadDesign state
Changed some variable names
parent
592a5273
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
ee/app/assets/javascripts/design_management/graphql.js
ee/app/assets/javascripts/design_management/graphql.js
+0
-1
ee/app/assets/javascripts/design_management/index.js
ee/app/assets/javascripts/design_management/index.js
+3
-2
ee/app/assets/javascripts/design_management/pages/index.vue
ee/app/assets/javascripts/design_management/pages/index.vue
+4
-4
ee/app/assets/javascripts/design_management/queries/appData.graphql
...ets/javascripts/design_management/queries/appData.graphql
+1
-1
No files found.
ee/app/assets/javascripts/design_management/graphql.js
View file @
00639265
...
...
@@ -30,7 +30,6 @@ const designsStore = [
const
defaultClient
=
createDefaultClient
({
defaults
:
{
designs
:
designsStore
,
canUploadDesign
:
true
,
},
resolvers
:
{
Query
:
{
...
...
ee/app/assets/javascripts/design_management/index.js
View file @
00639265
...
...
@@ -6,6 +6,7 @@ import apolloProvider from './graphql';
export
default
()
=>
{
const
el
=
document
.
getElementById
(
'
js-design-management
'
);
const
{
issueIid
,
projectPath
}
=
el
.
dataset
;
$
(
'
.js-issue-tabs
'
).
on
(
'
shown.bs.tab
'
,
({
target
:
{
id
}
})
=>
{
if
(
id
===
'
designs
'
&&
router
.
currentRoute
.
name
===
'
root
'
)
{
...
...
@@ -17,8 +18,8 @@ export default () => {
apolloProvider
.
clients
.
defaultClient
.
cache
.
writeData
({
data
:
{
project
FullPath
:
el
.
dataset
.
project
Path
,
issueIid
:
el
.
dataset
.
issueIid
,
projectPath
,
issueIid
,
},
});
...
...
ee/app/assets/javascripts/design_management/pages/index.vue
View file @
00639265
...
...
@@ -19,8 +19,8 @@ export default {
appData
:
{
query
:
appDataQuery
,
manual
:
true
,
result
({
data
:
{
project
Full
Path
,
issueIid
}
})
{
this
.
project
FullPath
=
projectFull
Path
;
result
({
data
:
{
projectPath
,
issueIid
}
})
{
this
.
project
Path
=
project
Path
;
this
.
issueIid
=
issueIid
;
},
},
...
...
@@ -34,7 +34,7 @@ export default {
query
:
permissionsQuery
,
variables
()
{
return
{
fullPath
:
this
.
project
Full
Path
,
fullPath
:
this
.
projectPath
,
iid
:
this
.
issueIid
,
};
},
...
...
@@ -47,7 +47,7 @@ export default {
permissions
:
{},
error
:
false
,
isSaving
:
false
,
project
Full
Path
:
''
,
projectPath
:
''
,
issueIid
:
null
,
};
},
...
...
ee/app/assets/javascripts/design_management/queries/appData.graphql
View file @
00639265
query
projectFullPath
{
project
Full
Path
@client
projectPath
@client
issueIid
@client
}
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