summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-09-27 14:26:01 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-09-27 14:27:02 +0100
commit7e2b583fe599865a3e608929b8d2facaa9ddae21 (patch)
treeb00a41c00597d1e48a9397c22892f0de5e77889d
parentb1bf2d535a931b74e12bda5d158e8de9744a4fef (diff)
downloadgitlab-ce-7e2b583fe599865a3e608929b8d2facaa9ddae21.tar.gz
Simplifies HTML by removing the empty state in cells
-rw-r--r--app/assets/javascripts/registry/components/table_registry.vue22
1 files changed, 4 insertions, 18 deletions
diff --git a/app/assets/javascripts/registry/components/table_registry.vue b/app/assets/javascripts/registry/components/table_registry.vue
index 3ab771de8d4..4091f40366f 100644
--- a/app/assets/javascripts/registry/components/table_registry.vue
+++ b/app/assets/javascripts/registry/components/table_registry.vue
@@ -97,27 +97,13 @@
</span>
</td>
<td>
- <template v-if="item.size">
- {{item.size}}
- &middot;
- {{layers(item)}}
- </template>
- <div
- v-else
- class="light">
- \-
- </div>
+ {{item.size}}
+ &middot;
+ {{layers(item)}}
</td>
<td>
- <template v-if="item.createdAt">
- {{timeFormated(item.createdAt)}}
- </template>
- <div
- v-else
- class="light">
- \-
- </div>
+ {{timeFormated(item.createdAt)}}
</td>
<td class="content">