diff options
Diffstat (limited to 'app/assets/javascripts/releases/components/app_index.vue')
-rw-r--r-- | app/assets/javascripts/releases/components/app_index.vue | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/assets/javascripts/releases/components/app_index.vue b/app/assets/javascripts/releases/components/app_index.vue index 1b360b79b0c..9f200856db3 100644 --- a/app/assets/javascripts/releases/components/app_index.vue +++ b/app/assets/javascripts/releases/components/app_index.vue @@ -244,21 +244,19 @@ export default { </script> <template> <div class="gl-display-flex gl-flex-direction-column gl-mt-3"> - <div class="gl-align-self-end gl-mb-3"> + <releases-empty-state v-if="shouldRenderEmptyState" /> + <div v-else class="gl-align-self-end gl-mb-3"> <releases-sort :value="sort" class="gl-mr-2" @input="onSortChanged" /> <gl-button v-if="newReleasePath" :href="newReleasePath" - :aria-describedby="shouldRenderEmptyState && 'releases-description'" category="primary" variant="confirm" >{{ $options.i18n.newRelease }}</gl-button > </div> - <releases-empty-state v-if="shouldRenderEmptyState" /> - <release-block v-for="(release, index) in releases" :key="getReleaseKey(release, index)" |