From bdce958eddc527912a57afa5b8151e1a90e38355 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Fri, 20 Dec 2019 23:54:56 +0100
Subject: Updated EsLint Removed logic from the view

---
 viewer/src/views/LdGallery.vue | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'viewer/src/views/LdGallery.vue')

diff --git a/viewer/src/views/LdGallery.vue b/viewer/src/views/LdGallery.vue
index a77dc24..98f083f 100644
--- a/viewer/src/views/LdGallery.vue
+++ b/viewer/src/views/LdGallery.vue
@@ -3,11 +3,7 @@
     <div class="layout top">header</div>
     <div class="layout left">panel</div>
     <router-view class="layout content" />
-    <fa-icon
-      icon="expand-arrows-alt"
-      class="layout button-fullscreen"
-      @click="fullscreen=!fullscreen"
-    />
+    <fa-icon icon="expand-arrows-alt" class="layout button-fullscreen" @click="toggleFullscreen" />
   </div>
 </template>
 
@@ -17,6 +13,10 @@ import { Component, Vue } from "vue-property-decorator";
 @Component
 export default class LdGallery extends Vue {
   fullscreen: boolean = false;
+
+  toggleFullscreen() {
+    this.fullscreen = !this.fullscreen;
+  }
 }
 </script>
 
-- 
cgit v1.2.3

