From 170d7a61f720ece9dc4b347b19f5a8213f1d8984 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Sat, 20 Jun 2020 16:50:49 +0200
Subject: viewer: prettier formatting based on eslint-prettier plugin
---
viewer/src/components/LdBreadcrumb.vue | 4 ++--
viewer/src/components/LdCommand.vue | 4 ++--
viewer/src/components/LdCommandSearch.vue | 4 ++--
viewer/src/components/LdError.vue | 3 ++-
viewer/src/components/LdProposition.vue | 7 ++++---
viewer/src/components/LdTagInput.vue | 4 ++--
viewer/src/components/LdThumbnail.vue | 8 ++++----
viewer/src/components/index.ts | 15 +++++++++------
viewer/src/components/item_handlers/LdAudioViewer.vue | 5 +----
viewer/src/components/item_handlers/LdDirectory.vue | 3 +--
viewer/src/components/item_handlers/LdPdfViewer.vue | 3 +--
viewer/src/components/item_handlers/LdPicture.vue | 2 +-
viewer/src/components/item_handlers/LdVideoViewer.vue | 11 ++---------
13 files changed, 33 insertions(+), 40 deletions(-)
(limited to 'viewer/src/components')
diff --git a/viewer/src/components/LdBreadcrumb.vue b/viewer/src/components/LdBreadcrumb.vue
index a8d8dcb..618b15a 100644
--- a/viewer/src/components/LdBreadcrumb.vue
+++ b/viewer/src/components/LdBreadcrumb.vue
@@ -29,11 +29,11 @@
>
- -
+
-
- {{item.title}}
+ {{ item.title }}
-
diff --git a/viewer/src/components/LdCommand.vue b/viewer/src/components/LdCommand.vue
index 49d86bb..d3705de 100644
--- a/viewer/src/components/LdCommand.vue
+++ b/viewer/src/components/LdCommand.vue
@@ -24,14 +24,14 @@
-
+
diff --git a/viewer/src/components/LdCommandSearch.vue b/viewer/src/components/LdCommandSearch.vue
index ef158ff..33ab804 100644
--- a/viewer/src/components/LdCommandSearch.vue
+++ b/viewer/src/components/LdCommandSearch.vue
@@ -21,11 +21,11 @@
- {{$t('command.search.clear')}}
+ {{ $t("command.search.clear") }}
- {{$t('command.search.search')}}
+ {{ $t("command.search.search") }}
diff --git a/viewer/src/components/LdError.vue b/viewer/src/components/LdError.vue
index a53942d..c71e2ad 100644
--- a/viewer/src/components/LdError.vue
+++ b/viewer/src/components/LdError.vue
@@ -30,7 +30,8 @@
-
+
diff --git a/viewer/src/components/item_handlers/LdPdfViewer.vue b/viewer/src/components/item_handlers/LdPdfViewer.vue
index 6471aac..462c463 100644
--- a/viewer/src/components/item_handlers/LdPdfViewer.vue
+++ b/viewer/src/components/item_handlers/LdPdfViewer.vue
@@ -42,5 +42,4 @@ export default class LdPdfViewer extends Vue {
}
-
+
diff --git a/viewer/src/components/item_handlers/LdPicture.vue b/viewer/src/components/item_handlers/LdPicture.vue
index 3809e4d..e652afc 100644
--- a/viewer/src/components/item_handlers/LdPicture.vue
+++ b/viewer/src/components/item_handlers/LdPicture.vue
@@ -33,7 +33,7 @@
ref="imageElement"
:src="pictureSrc(item.properties.resource)"
class="ld-picture-element"
- :class="{'slow-loading': Boolean(slowLoadingStyle)}"
+ :class="{ 'slow-loading': Boolean(slowLoadingStyle) }"
:style="slowLoadingStyle"
@load="clearSlowLoading"
/>
diff --git a/viewer/src/components/item_handlers/LdVideoViewer.vue b/viewer/src/components/item_handlers/LdVideoViewer.vue
index 67203a5..2e3a43c 100644
--- a/viewer/src/components/item_handlers/LdVideoViewer.vue
+++ b/viewer/src/components/item_handlers/LdVideoViewer.vue
@@ -21,13 +21,7 @@
-
@@ -50,5 +44,4 @@ export default class LdVideoViewer extends Vue {
}
-
+
--
cgit v1.2.3