From 28ec59b409384c6162458378baf6dd7ddb3c79ed Mon Sep 17 00:00:00 2001
From: Fulgen301 <tokmajigeorge@gmail.com>
Date: Sun, 8 Sep 2019 23:17:58 +0200
Subject: Only show version if there is one

---
 src/pages/UploadDetail.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/UploadDetail.vue')

diff --git a/src/pages/UploadDetail.vue b/src/pages/UploadDetail.vue
index 056c837..76debe2 100644
--- a/src/pages/UploadDetail.vue
+++ b/src/pages/UploadDetail.vue
@@ -4,7 +4,7 @@
       <q-card>
         <q-card-media v-if="pictures.length > 0" overlay-position="top">
           <q-card-title slot="overlay">
-            {{ upload.title }} v{{ upload.version }}
+            {{ upload.title }} <span v-if="upload.version">v{{ upload.version }}</span>
             <span slot="subtitle">
               <span v-if="hasAuthor">by {{ upload.author.name }}</span>,
               updated {{ upload.updatedAt | moment("from") }}
-- 
cgit v1.2.3-54-g00ecf

