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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
918077a0
Commit
918077a0
authored
May 11, 2018
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set isLoading in created lifecycle hook
parent
b45714db
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown.vue
..._cluster_dropdowns/components/gke_project_id_dropdown.vue
+2
-1
No files found.
app/assets/javascripts/projects/gke_cluster_dropdowns/components/gke_project_id_dropdown.vue
View file @
918077a0
...
@@ -16,7 +16,6 @@ export default {
...
@@ -16,7 +16,6 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
isLoading
:
true
,
searchPlaceholderText
:
s__
(
'
ClusterIntegration|Search projects
'
),
searchPlaceholderText
:
s__
(
'
ClusterIntegration|Search projects
'
),
noSearchResultsText
:
s__
(
'
ClusterIntegration|No projects matched your search
'
),
noSearchResultsText
:
s__
(
'
ClusterIntegration|No projects matched your search
'
),
};
};
...
@@ -68,6 +67,8 @@ export default {
...
@@ -68,6 +67,8 @@ export default {
},
},
},
},
created
()
{
created
()
{
this
.
isLoading
=
true
;
this
.
getProjects
()
this
.
getProjects
()
.
then
(
this
.
fetchSuccessHandler
)
.
then
(
this
.
fetchSuccessHandler
)
.
catch
(
this
.
fetchFailureHandler
);
.
catch
(
this
.
fetchFailureHandler
);
...
...
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