Commit 8654a023 authored by Mark Florian's avatar Mark Florian Committed by Kushal Pandya

Remove feature flag in Dependency List entry point

Part of [Clean up dependency_list_ui feature flag and old code
paths][1].

[1]: https://gitlab.com/gitlab-org/gitlab/-/issues/212867
parent 22a8c7e4
import Vue from 'vue';
import DependenciesApp from './components/app.vue';
import createStore from './store';
import { DEPENDENCY_LIST_TYPES } from './store/constants';
import { addListType } from './store/utils';
export default () => {
const el = document.querySelector('#js-dependencies-app');
......@@ -10,10 +8,6 @@ export default () => {
const store = createStore();
if (!gon.features?.dependencyListUi) {
addListType(store, DEPENDENCY_LIST_TYPES.vulnerable);
}
return new Vue({
el,
store,
......
......@@ -10,6 +10,8 @@ export const DEPENDENCY_LIST_TYPES = {
filter: FILTER.all,
},
},
// This is only used in tests, and will be removed in
// https://gitlab.com/gitlab-org/gitlab/-/issues/217734
vulnerable: {
namespace: 'vulnerableDependencies',
label: s__('Dependencies|Vulnerable components'),
......
......@@ -4,10 +4,6 @@ module Projects
class DependenciesController < Projects::ApplicationController
before_action :authorize_read_dependency_list!
before_action only: [:index] do
push_frontend_feature_flag(:dependency_list_ui, project, default_enabled: true)
end
def index
respond_to do |format|
format.html do
......
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