diff options
Diffstat (limited to 'app/assets/javascripts/pages/projects/tags/index')
-rw-r--r-- | app/assets/javascripts/pages/projects/tags/index/index.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/assets/javascripts/pages/projects/tags/index/index.js b/app/assets/javascripts/pages/projects/tags/index/index.js index 9e48dd9e463..e62bdc7a8c0 100644 --- a/app/assets/javascripts/pages/projects/tags/index/index.js +++ b/app/assets/javascripts/pages/projects/tags/index/index.js @@ -1,9 +1,5 @@ import TagSortDropdown from '~/tags'; -import { initRemoveTag } from '../remove_tag'; +import initDeleteTagModal from '~/tags/init_delete_tag_modal'; -initRemoveTag({ - onDelete: (path) => { - document.querySelector(`[data-path="${path}"]`).closest('.js-tag-list').remove(); - }, -}); +initDeleteTagModal(); TagSortDropdown(); |