debian-mirror-gitlab/app/views/admin/labels/destroy.js.haml

4 lines
161 B
Text
Raw Normal View History

2020-10-24 23:57:45 +05:30
- if @labels.size == 0
2021-04-17 20:07:23 +05:30
var emptyState = document.querySelector('.labels .nothing-here-block.hidden');
if (emptyState) emptyState.classList.remove('hidden');