Fix null pointer.
authorAlexandre Segura <mex.zktk@gmail.com>
Fri, 28 Apr 2017 11:38:44 +0200
changeset 483 dce041bc57a9
parent 482 b71475c27159
child 484 6d46a199d5db
Fix null pointer.
src_js/iconolab-bundle/src/components/editor/AnnotationForm.vue
--- a/src_js/iconolab-bundle/src/components/editor/AnnotationForm.vue	Fri Apr 28 11:29:47 2017 +0200
+++ b/src_js/iconolab-bundle/src/components/editor/AnnotationForm.vue	Fri Apr 28 11:38:44 2017 +0200
@@ -34,7 +34,7 @@
                     @change="onTagsChange($event.tags)"></tag-list>
                 <input type="hidden" name="tags" v-model="serializedTags">
             </div>
-            <p class="small text-center text-muted" v-show="annotation">
+            <p class="small text-center text-muted" v-if="annotation">
                 <a v-bind:href="revisionsUrlComputed">Dernière version</a>
                 <span>{{ dateComputed }} par</span>
                 <a v-bind:href="authorUrlComputed">{{ annotation.author }}</a>