[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
No known key found for this signature in database
GPG key ID: 17FA08AA7E62A231
3 changed files with 2 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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');
}