diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 308885dcfe9..82435c51a0b 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -183,7 +183,10 @@ new NamespaceSelects(); break; case 'labels': - new Labels(); + switch (path[2]) { + case 'edit': + new Labels(); + } } break; case 'dashboard':