[copy-to-clipboard] remove not needed update call

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
Jakob Ackermann
2019-09-20 23:32:27 +02:00
parent 48aba129ce
commit f7fe27c07e
3 changed files with 2 additions and 4 deletions

View File

@@ -26,11 +26,9 @@
const self = this;
if (opts.target === 'tag') {
self.dockerCmd = self.prefix + ':' + opts.image.tag;
self.update();
} else {
opts.image.one('content-digest', function (digest) {
self.dockerCmd = self.prefix + '@' + digest;
self.update();
});
opts.image.trigger('get-content-digest');
}