From f378c61bc4b68fb362da562ed715304431958626 Mon Sep 17 00:00:00 2001 From: Andrea Leardini Date: Mon, 3 Jun 2024 12:27:47 +0200 Subject: [PATCH 1/2] Format code --- ui/package.json | 3 +- ui/src/components/AppMobileSideMenu.vue | 8 +- ui/src/components/AppSideMenuContent.vue | 2 +- ui/src/views/Settings.vue | 26 +- ui/src/views/Status.vue | 164 +++++---- ui/src/views/VirtualHosts.vue | 430 +++++++++++++---------- ui/yarn.lock | 18 +- 7 files changed, 365 insertions(+), 286 deletions(-) diff --git a/ui/package.json b/ui/package.json index 7c89152..953bcb3 100644 --- a/ui/package.json +++ b/ui/package.json @@ -6,7 +6,8 @@ "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", - "watch": "vue-cli-service build --watch" + "watch": "vue-cli-service build --watch", + "format": "prettier --write src/" }, "dependencies": { "@carbon/icons-vue": "^10.37.0", diff --git a/ui/src/components/AppMobileSideMenu.vue b/ui/src/components/AppMobileSideMenu.vue index 611a4c0..c61f0cd 100644 --- a/ui/src/components/AppMobileSideMenu.vue +++ b/ui/src/components/AppMobileSideMenu.vue @@ -2,13 +2,7 @@
diff --git a/ui/src/components/AppSideMenuContent.vue b/ui/src/components/AppSideMenuContent.vue index efa5f19..148a0a5 100644 --- a/ui/src/components/AppSideMenuContent.vue +++ b/ui/src/components/AppSideMenuContent.vue @@ -56,7 +56,7 @@ export default { Settings20, Information20, Activity20, - DataBase20 + DataBase20, }, mixins: [QueryParamService, UtilService], data() { diff --git a/ui/src/views/Settings.vue b/ui/src/views/Settings.vue index 5d78e10..ca77874 100644 --- a/ui/src/views/Settings.vue +++ b/ui/src/views/Settings.vue @@ -22,7 +22,7 @@ @@ -73,8 +71,12 @@ v-html="$t('settings.sftpgo_explanation_tooltips')" > - - + + \ No newline at end of file + diff --git a/ui/src/views/Status.vue b/ui/src/views/Status.vue index 6fbc60a..15ec13f 100644 --- a/ui/src/views/Status.vue +++ b/ui/src/views/Status.vue @@ -46,7 +46,7 @@ -