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
e091ce66
Commit
e091ce66
authored
May 23, 2018
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
match state function convention in badges
parent
7cc690ee
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
app/assets/javascripts/projects/gke_cluster_dropdowns/store/index.js
...javascripts/projects/gke_cluster_dropdowns/store/index.js
+2
-2
app/assets/javascripts/projects/gke_cluster_dropdowns/store/state.js
...javascripts/projects/gke_cluster_dropdowns/store/state.js
+1
-3
No files found.
app/assets/javascripts/projects/gke_cluster_dropdowns/store/index.js
View file @
e091ce66
...
...
@@ -3,7 +3,7 @@ import Vuex from 'vuex';
import
*
as
actions
from
'
./actions
'
;
import
*
as
getters
from
'
./getters
'
;
import
mutations
from
'
./mutations
'
;
import
{
state
}
from
'
./state
'
;
import
createState
from
'
./state
'
;
Vue
.
use
(
Vuex
);
...
...
@@ -12,7 +12,7 @@ export const createStore = () =>
actions
,
getters
,
mutations
,
state
:
s
tate
(),
state
:
createS
tate
(),
});
export
default
createStore
();
app/assets/javascripts/projects/gke_cluster_dropdowns/store/state.js
View file @
e091ce66
export
const
state
=
()
=>
({
export
default
()
=>
({
selectedProject
:
{
projectId
:
''
,
name
:
''
,
...
...
@@ -10,5 +10,3 @@ export const state = () => ({
zones
:
[],
machineTypes
:
[],
});
export
default
state
();
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