Bläddra i källkod

HUE-5937 [metastore] Do not show old editor warning when dropping tables

Romain Rigaux 8 år sedan
förälder
incheckning
bccaa33
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      apps/beeswax/src/beeswax/templates/execute.mako

+ 1 - 1
apps/beeswax/src/beeswax/templates/execute.mako

@@ -239,7 +239,7 @@ ${ layout.menubar(section='query') }
   </div>
   <div class="resizer" data-bind="splitDraggable : { appName: '${app_name}', onPosition: onPanelPosition, leftPanelVisible: isEditor }"><div class="resize-bar"><i class="fa fa-ellipsis-v"></i></div></div>
   <div class="content-panel" id="querySide">
-    % if USE_NEW_EDITOR.get():
+    % if USE_NEW_EDITOR.get() and action != 'watch-redirect' and action != 'watch-results':
     <div class="alert">
       ${ _('This is the old SQL Editor, it is recommended to instead use: ') }
       % if app_name == 'impala':