Bulk Edit button UI disappears when Types selected

Moved from GitHub ratel/196

Posted by darkn3rd:

Bulk Edit is always an option to submit raw schema in text form (/alter), while predicates and types let you specify these one at a time, with Predicates the default radio button.

When you click on the Types radio button, the Bulk Edit completely disappears. This is confusing and inconsistent behaviour.

Dgraph Version

latest

Tech Specs

  • Ubuntu 18.04
  • Chromium 79.0.3945.130

Steps

  1. Ratel
  2. Schema
  3. Click on Types Radio button
  4. Observe Bulk Edit vanishes

Expected

The [Bulk Edit] clickable text would not disappear.

Actual

The [Bulk Edit] clickable text disappears