diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-01-10 16:20:37 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-01-10 16:20:37 +0000 |
commit | 287309c3890f615d6eee4266873ab92822e29eac (patch) | |
tree | 34c707fb76d461f4c9a87e3154d59383780bd366 /app/assets/javascripts/environments/components/container.vue | |
parent | ecee58154e8a4b706c10a7e718edb13306357f8e (diff) | |
parent | dae93ef1ce2fbfe6342d6ec540f1b187d92a7cec (diff) | |
download | gitlab-ce-41723-babel.tar.gz |
Merge branch 'master' into 41723-babel41723-babel
* master: (67 commits)
Remove Beta notice for Clusters
Adds explanation to .codeclimate.yml file
Disable eslint in codeclimate
Fix broken modal
Refactor dashboard milestone show inside dispatcher
Refactor dashboard milestone index inside dispatcher
Fix hooks not being set up properly for bare import Rake task
Change order of reference notes in permissions docs
Fix indention
Fix indention
Disable rule in modal.vue breaking tests
Revert "Fix Route validation for unchanged path"
Revert "Add test for permanent redirects of descendants"
Add test for permanent redirects of descendants
Fix Route validation for unchanged path
Fix broken tests
Migrate GitlabProject (re)move project endpoints
Add support for multiple refmaps to RemoteService#add_remote
Fixing bug related to wiki last version
Restore sidebar collapse button padding
...
Diffstat (limited to 'app/assets/javascripts/environments/components/container.vue')
-rw-r--r-- | app/assets/javascripts/environments/components/container.vue | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/app/assets/javascripts/environments/components/container.vue b/app/assets/javascripts/environments/components/container.vue index 3236077c3cf..dbee81fa320 100644 --- a/app/assets/javascripts/environments/components/container.vue +++ b/app/assets/javascripts/environments/components/container.vue @@ -4,6 +4,11 @@ import environmentTable from '../components/environments_table.vue'; export default { + components: { + environmentTable, + loadingIcon, + tablePagination, + }, props: { isLoading: { type: Boolean, @@ -26,12 +31,6 @@ required: true, }, }, - components: { - environmentTable, - loadingIcon, - tablePagination, - }, - methods: { onChangePage(page) { this.$emit('onChangePage', page); @@ -47,7 +46,7 @@ label="Loading environments" v-if="isLoading" size="3" - /> + /> <slot name="emptyState"></slot> @@ -59,13 +58,13 @@ :environments="environments" :can-create-deployment="canCreateDeployment" :can-read-environment="canReadEnvironment" - /> + /> <table-pagination v-if="pagination && pagination.totalPages > 1" :change="onChangePage" - :pageInfo="pagination" - /> + :page-info="pagination" + /> </div> </div> </template> |