Commit b660b5ca authored by Mike Greiling's avatar Mike Greiling

Remove vestigial traces of the obsolete GitLab UI help page

parent 58d963e3
import initUIKit from '~/ui_development_kit';
initUIKit();
import $ from 'jquery';
import initDeprecatedJQueryDropdown from '~/deprecated_jquery_dropdown';
import Api from './api';
export default () => {
initDeprecatedJQueryDropdown($('#js-project-dropdown'), {
data: (term, callback) => {
Api.projects(
term,
{
order_by: 'last_activity_at',
},
(data) => {
callback(data);
},
);
},
text: (project) => project.name_with_namespace || project.name,
selectable: true,
fieldName: 'author_id',
filterable: true,
search: {
fields: ['name_with_namespace'],
},
id: (data) => data.id,
isSelected: (data) => data.id === 2,
});
};
...@@ -59,10 +59,6 @@ class HelpController < ApplicationController ...@@ -59,10 +59,6 @@ class HelpController < ApplicationController
@instance_configuration = InstanceConfiguration.new @instance_configuration = InstanceConfiguration.new
end end
def ui
@user = User.new(id: 0, name: 'John Doe', username: '@johndoe')
end
private private
def path_params def path_params
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment