Commit 9ad50117 authored by Darby Frey's avatar Darby Frey

Code clean up

parent 86313412
...@@ -38,7 +38,6 @@ export default { ...@@ -38,7 +38,6 @@ export default {
{ {
key: 'permissions', key: 'permissions',
label: __('Permissions'), label: __('Permissions'),
tdClass: 'text-plain',
}, },
{ {
key: 'created_at', key: 'created_at',
...@@ -63,9 +62,7 @@ export default { ...@@ -63,9 +62,7 @@ export default {
this.loading = true; this.loading = true;
const response = await Api.projectSecureFiles(this.projectId, {page: page}) const response = await Api.projectSecureFiles(this.projectId, {page: page})
if (this.totalItems === 0) { this.totalItems = parseInt(response.headers?.['x-total'], 10) || 0;
this.totalItems = parseInt(response.headers?.['x-total'], 10) || 0;
}
this.projectSecureFiles = response.data this.projectSecureFiles = response.data
......
- @content_class = "limit-container-width" - @content_class = "limit-container-width"
- page_title s_('Pipelines|Secure Files') - page_title s_('Pipelines|Secure Files')
- content_for :prefetch_asset_tags do
- webpack_preload_asset_tag('monaco')
#js-ci-secure-files{ data: { project_id: @project.id } } #js-ci-secure-files{ data: { project_id: @project.id } }
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