浏览代码

HUE-6842 [core] Correctly append the list of custom apps

Romain Rigaux 8 年之前
父节点
当前提交
cb66777
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/models.py

+ 1 - 1
desktop/core/src/desktop/models.py

@@ -1823,7 +1823,7 @@ class ClusterConfig():
     interpreters = []
 
     for other in other_apps:
-      interpreters.push({
+      interpreters.append({
         'type': other.nice_name,
         'displayName': other.nice_name,
         'buttonName': other.nice_name,