gitlab-org--gitlab-foss/app/assets/javascripts/repo/components/repo_loading_file.vue

45 lines
879 B
Vue
Raw Normal View History

<script>
import { mapGetters } from 'vuex';
import skeletonLoadingContainer from '../../vue_shared/components/skeleton_loading_container.vue';
2017-07-20 11:37:52 -04:00
export default {
components: {
skeletonLoadingContainer,
},
computed: {
...mapGetters([
'isCollapsed',
]),
},
};
</script>
<template>
2017-08-15 15:53:41 -04:00
<tr
class="loading-file"
aria-label="Loading files"
>
<td class="multi-file-table-col-name">
<skeleton-loading-container
:small="true"
/>
2017-08-15 15:53:41 -04:00
</td>
<template v-if="!isCollapsed">
<td
class="hidden-sm hidden-xs">
<skeleton-loading-container
:small="true"
/>
</td>
<td
class="hidden-xs">
<skeleton-loading-container
class="animation-container-right"
:small="true"
/>
</td>
</template>
2017-08-15 15:53:41 -04:00
</tr>
</template>