This is an automated email from the ASF dual-hosted git repository.

akshayrai09 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 83c6a2d  [TE] Enable creating new application in the Admin page (#5601)
83c6a2d is described below

commit 83c6a2d7ccb2b51624e17f34df5fddae663bb4e2
Author: Xiaohui Sun <[email protected]>
AuthorDate: Mon Jun 22 09:13:05 2020 -0700

    [TE] Enable creating new application in the Admin page (#5601)
    
    Co-authored-by: Xiaohui Sun <[email protected]>
    
    Add a "Create New" in the entity editor drop down.
    This could be used to create a new application.
---
 .../thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js     | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/thirdeye/thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js 
b/thirdeye/thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js
index adb2f12..675353e 100644
--- a/thirdeye/thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js
+++ b/thirdeye/thirdeye-pinot/src/main/resources/assets/js/lib/entity-editor.js
@@ -28,6 +28,7 @@ function renderEntitySelector() {
     getData("/thirdeye/entity/" + entityType, "admin").done(function (data) {
       entityData = data;
       var select = "<option value='select'>Select</option>";
+      select += "<option> Create New </option>";
       for (var i in data) {
         select += "<option value='" + data[i].id + "'>" + 
buildNameForEntity(data[i], entityType)
             + "</option>";


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to