Commit 4af08d23 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '212867-clean-up-dependency_list_ui-entry' into 'master'

Remove feature flag in Dependency List entry point

See merge request gitlab-org/gitlab!31097
parents cabbfe23 8654a023
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