Commit 918077a0 authored by Dennis Tang's avatar Dennis Tang

set isLoading in created lifecycle hook

parent b45714db
......@@ -16,7 +16,6 @@ export default {
},
data() {
return {
isLoading: true,
searchPlaceholderText: s__('ClusterIntegration|Search projects'),
noSearchResultsText: s__('ClusterIntegration|No projects matched your search'),
};
......@@ -68,6 +67,8 @@ export default {
},
},
created() {
this.isLoading = true;
this.getProjects()
.then(this.fetchSuccessHandler)
.catch(this.fetchFailureHandler);
......
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