Commit e6cbf402 authored by Lars Greiss's avatar Lars Greiss Committed by Filipa Lacerda

Remove docker pull prefix from registry clipboard feature

parent 4790e726
......@@ -28,11 +28,6 @@
isOpen: false,
};
},
computed: {
clipboardText() {
return `docker pull ${this.repo.location}`;
},
},
methods: {
...mapActions([
'fetchRepos',
......@@ -84,7 +79,7 @@
<clipboard-button
v-if="repo.location"
:text="clipboardText"
:text="repo.location"
:title="repo.location"
css-class="btn-default btn-transparent btn-clipboard"
/>
......
......@@ -56,10 +56,6 @@
.catch(() => this.showError(errorMessagesTypes.FETCH_REGISTRY));
},
clipboardText(text) {
return `docker pull ${text}`;
},
showError(message) {
Flash(errorMessages[message]);
},
......@@ -89,7 +85,7 @@
<clipboard-button
v-if="item.location"
:title="item.location"
:text="clipboardText(item.location)"
:text="item.location"
css-class="btn-default btn-transparent btn-clipboard"
/>
</td>
......
---
title: Remove docker pull prefix from registry clipboard feature
merge_request: 18933
author: Lars Greiss
type: changed
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