summaryrefslogtreecommitdiff
path: root/src/components/Global
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-02-27 22:26:24 +0300
committerEd Tanous <ed@tanous.net>2024-03-05 07:23:10 +0300
commit8132399c29a07b783d2b24ccd80da7676460dbf3 (patch)
treed309b7cdaeeb63092d905da2a2df97e492e3bb02 /src/components/Global
parenta0c29207a44028fd04e881bbd4e3cbc44ced35ac (diff)
downloadwebui-vue-8132399c29a07b783d2b24ccd80da7676460dbf3.tar.xz
Reformat files with new linter
All changes should be whitespace, and were done using npm run-script lint. Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6 Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'src/components/Global')
-rw-r--r--src/components/Global/FormFile.vue4
-rw-r--r--src/components/Global/PageTitle.vue2
-rw-r--r--src/components/Global/TableFilter.vue5
3 files changed, 7 insertions, 4 deletions
diff --git a/src/components/Global/FormFile.vue b/src/components/Global/FormFile.vue
index cf713acf..e18d6148 100644
--- a/src/components/Global/FormFile.vue
+++ b/src/components/Global/FormFile.vue
@@ -86,7 +86,9 @@ export default {
opacity: 0;
height: 0;
&:focus + span {
- box-shadow: inset 0 0 0 3px theme-color('primary'), inset 0 0 0 5px $white;
+ box-shadow:
+ inset 0 0 0 3px theme-color('primary'),
+ inset 0 0 0 5px $white;
}
}
diff --git a/src/components/Global/PageTitle.vue b/src/components/Global/PageTitle.vue
index f5e6df92..c3b49d80 100644
--- a/src/components/Global/PageTitle.vue
+++ b/src/components/Global/PageTitle.vue
@@ -28,7 +28,7 @@ export default {
let index = title.search('-');
title = title.replace(
'-' + title.charAt(index + 1),
- title.charAt(index + 1).toUpperCase()
+ title.charAt(index + 1).toUpperCase(),
);
i++;
}
diff --git a/src/components/Global/TableFilter.vue b/src/components/Global/TableFilter.vue
index 7c66bea6..f26777be 100644
--- a/src/components/Global/TableFilter.vue
+++ b/src/components/Global/TableFilter.vue
@@ -65,7 +65,8 @@ export default {
default: () => [],
validator: (prop) => {
return prop.every(
- (filter) => 'label' in filter && 'values' in filter && 'key' in filter
+ (filter) =>
+ 'label' in filter && 'values' in filter && 'key' in filter,
);
},
},
@@ -94,7 +95,7 @@ export default {
emitChange() {
const activeFilters = this.filters.map(({ key, values }) => {
const activeValues = values.filter(
- (value) => this.tags.indexOf(value) !== -1
+ (value) => this.tags.indexOf(value) !== -1,
);
return {
key,