You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2022/03/30 19:06:56 UTC
[airflow] 01/01: Only hide rendered button for mapped summaries
This is an automated email from the ASF dual-hosted git repository.
bbovenzi pushed a commit to branch Fix-rendered-btn-for-mapped-instances
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 9e447c1b0e54a93742f3b7e4fc929d37a8a4e8f2
Author: Brent Bovenzi <br...@gmail.com>
AuthorDate: Wed Mar 30 14:51:25 2022 -0400
Only hide rendered button for mapped summaries
---
airflow/www/static/js/dag.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/www/static/js/dag.js b/airflow/www/static/js/dag.js
index a88e0a6..af98fa6 100644
--- a/airflow/www/static/js/dag.js
+++ b/airflow/www/static/js/dag.js
@@ -183,10 +183,8 @@ export function callModal({
}
if (isMapped || mapIndex >= 0) {
- $('#btn_rendered').hide();
$('#mapped_instances').show();
} else {
- $('#btn_rendered').show();
$('#mapped_instances').hide();
}
@@ -198,7 +196,9 @@ export function callModal({
});
$('#btn_mapped').show();
$('#mapped_dropdown').css('display', 'inline-block');
+ $('#btn_rendered').hide();
} else {
+ $('#btn_rendered').show();
$('#btn_mapped').hide();
$('#mapped_dropdown').hide();
}