diff --git a/GITALY_SERVER_VERSION b/GITALY_SERVER_VERSION index 8f1b75bbb09..57be36455ed 100644 --- a/GITALY_SERVER_VERSION +++ b/GITALY_SERVER_VERSION @@ -1 +1 @@ -bba495c8c929b75f8cbcdc6d07d07431736aa8d1 +125f0fc0e49db4dd46f2e905f34178ce880dd79e diff --git a/app/assets/javascripts/labels/index.js b/app/assets/javascripts/labels/index.js index 15706435e25..22a9c0a89c0 100644 --- a/app/assets/javascripts/labels/index.js +++ b/app/assets/javascripts/labels/index.js @@ -113,8 +113,9 @@ export function initLabelIndex() { } export function initAdminLabels() { - const pagination = document.querySelector('.labels .gl-pagination'); - const emptyState = document.querySelector('.labels .nothing-here-block.hidden'); + const labelsContainer = document.querySelector('.js-admin-labels-container'); + const pagination = labelsContainer?.querySelector('.gl-pagination'); + const emptyState = document.querySelector('.js-admin-labels-empty-state'); function removeLabelSuccessCallback() { this.closest('li').classList.add('gl-display-none!'); @@ -125,7 +126,8 @@ export function initAdminLabels() { // display the empty state if there are no more labels if (labelsCount < 1 && !pagination && emptyState) { - emptyState.classList.remove('hidden'); + emptyState.classList.remove('gl-display-none'); + labelsContainer.classList.add('gl-display-none'); } } diff --git a/app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue b/app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue index de22afe4a30..efff3aa618d 100644 --- a/app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue +++ b/app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue @@ -166,7 +166,6 @@ export default { class="issue gl-display-flex! gl-px-5!" :class="{ closed: issuable.closedAt, today: createdInPastDay }" :data-labels="labelIdsString" - data-qa-selector="issuable_item_container" :data-qa-issue-id="issuableId" >