diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-09-27 16:26:01 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-09-27 16:27:02 +0300 |
commit | 7e2b583fe599865a3e608929b8d2facaa9ddae21 (patch) | |
tree | b00a41c00597d1e48a9397c22892f0de5e77889d /app/assets/javascripts/registry | |
parent | b1bf2d535a931b74e12bda5d158e8de9744a4fef (diff) |
Simplifies HTML by removing the empty state in cells
Diffstat (limited to 'app/assets/javascripts/registry')
-rw-r--r-- | app/assets/javascripts/registry/components/table_registry.vue | 22 |
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}} - · - {{layers(item)}} - </template> - <div - v-else - class="light"> - \- - </div> + {{item.size}} + · + {{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"> |