diff options
Diffstat (limited to 'app/views/layouts/_init_auto_complete.html.haml')
-rw-r--r-- | app/views/layouts/_init_auto_complete.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_init_auto_complete.html.haml b/app/views/layouts/_init_auto_complete.html.haml index 509f5be8097..46d84d9f883 100644 --- a/app/views/layouts/_init_auto_complete.html.haml +++ b/app/views/layouts/_init_auto_complete.html.haml @@ -1,5 +1,5 @@ - object = @target_project || @project || @group -- noteable_type = @noteable.class if @noteable.present? +- noteable_type = @noteable_type || @noteable&.class - datasources = autocomplete_data_sources(object, noteable_type) |