Преглед изворни кода

[metastore] Fix for drop table modal

Johan Ahlen пре 10 година
родитељ
комит
9f292be
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      apps/metastore/src/metastore/templates/metastore.mako

+ 5 - 1
apps/metastore/src/metastore/templates/metastore.mako

@@ -640,7 +640,11 @@ ${ assist.assistPanel() }
       <input type="submit" class="btn btn-danger" value="${_('Yes, drop this table')}"/>
     </div>
     <div class="hide">
-      <input type="hidden" name="table_selection" data-bind="value: database().table().name" />
+      <!-- ko with: database -->
+      <!-- ko with: table -->
+      <input type="hidden" name="table_selection" data-bind="value: name" />
+      <!-- /ko -->
+      <!-- /ko -->
     </div>
   </form>
 </div>