Explorar o código

HUE-7750 [desktop] Use display_name instead of nice_name for SDK apps page URL in Hue 4.x. (#632)

Rick Bernotas %!s(int64=8) %!d(string=hai) anos
pai
achega
d20a446
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/models.py

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

@@ -1860,7 +1860,7 @@ class ClusterConfig():
         'displayName': other.nice_name,
         'buttonName': other.nice_name,
         'tooltip': other.nice_name,
-        'page': '/%s' % other.nice_name
+        'page': '/%s' % other.display_name
       })
 
     if interpreters: