From e67ea047c41e0feeb191d17a868f39df772da31a Mon Sep 17 00:00:00 2001 From: Brandon Caton Date: Mon, 28 Mar 2022 09:26:38 -0400 Subject: [PATCH] ui: Copy build logs error fix (PROJQUAY-3405) (#1201) Currently when viewing the build logs and selecting `Copy Logs` the copy to clipboard will fail. This is because the content of the logs was being passed to the copy-clipboard function when it requires the ID of the element containing the text to copy. This passes the selector of the ID of the element containing the build logs. --- static/directives/build-logs-view.html | 2 +- static/directives/super-user-build-logs.html | 1 + static/partials/build-view.html | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/static/directives/build-logs-view.html b/static/directives/build-logs-view.html index f939caa95..4abda4c5d 100644 --- a/static/directives/build-logs-view.html +++ b/static/directives/build-logs-view.html @@ -1,7 +1,7 @@
diff --git a/static/directives/super-user-build-logs.html b/static/directives/super-user-build-logs.html index a29b5aed7..aa663e943 100644 --- a/static/directives/super-user-build-logs.html +++ b/static/directives/super-user-build-logs.html @@ -12,6 +12,7 @@