diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-10-19 11:28:29 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2017-10-19 11:28:29 +0000 |
commit | 83f5955ee342af01cea7a9a2e18089a3de615a06 (patch) | |
tree | 05ef551144d9586d68cd46cd51029aa3967c211b /app | |
parent | 371eb62bc90a70f4a578303215e1d4dfc430ddbb (diff) | |
parent | de57492d162f0a28be383ea808df6bc18c878e97 (diff) | |
download | gitlab-ce-83f5955ee342af01cea7a9a2e18089a3de615a06.tar.gz |
Merge branch 'sh-fix-broken-docker-delete' into 'master'
Fix inability to delete container registry tags
Closes #39260
See merge request gitlab-org/gitlab-ce!14947
Diffstat (limited to 'app')
3 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/registry/components/collapsible_container.vue b/app/assets/javascripts/registry/components/collapsible_container.vue index 41ea9742406..ac1c3ec253c 100644 --- a/app/assets/javascripts/registry/components/collapsible_container.vue +++ b/app/assets/javascripts/registry/components/collapsible_container.vue @@ -57,7 +57,7 @@ }, showError(message) { - Flash((errorMessages[message])); + Flash(errorMessages[message]); }, }, }; diff --git a/app/assets/javascripts/registry/components/table_registry.vue b/app/assets/javascripts/registry/components/table_registry.vue index 4ce1571b0aa..e917279947e 100644 --- a/app/assets/javascripts/registry/components/table_registry.vue +++ b/app/assets/javascripts/registry/components/table_registry.vue @@ -57,7 +57,7 @@ }, showError(message) { - Flash((errorMessages[message])); + Flash(errorMessages[message]); }, }, }; diff --git a/app/serializers/container_tag_entity.rb b/app/serializers/container_tag_entity.rb index 26a68c43807..8f1488e6cbb 100644 --- a/app/serializers/container_tag_entity.rb +++ b/app/serializers/container_tag_entity.rb @@ -4,7 +4,7 @@ class ContainerTagEntity < Grape::Entity expose :name, :location, :revision, :short_revision, :total_size, :created_at expose :destroy_path, if: -> (*) { can_destroy? } do |tag| - project_registry_repository_tag_path(project, tag.repository, tag.name, format: :json) + project_registry_repository_tag_path(project, tag.repository, tag.name) end private |