diff --git a/scripts/lint-js b/scripts/lint-js
index 8cf99bb..ad68556 100755
--- a/scripts/lint-js
+++ b/scripts/lint-js
@@ -18,4 +18,4 @@ fi
cd unwind-ui
npm run lint ||:
-npx prettier $prettier_opts 'src/**/*.{js,ts,vue}'
+npx prettier $prettier_opts 'vite.config.ts' 'src/**/*.{js,ts,vue}'
diff --git a/unwind-ui/src/App.vue b/unwind-ui/src/App.vue
index fd9c712..d797fdc 100644
--- a/unwind-ui/src/App.vue
+++ b/unwind-ui/src/App.vue
@@ -11,7 +11,9 @@
@@ -34,7 +36,7 @@
@@ -163,9 +165,9 @@ const debounced_get = debounce_async(100, get)
type ULID = string
type User = {
- id: ULID,
- name: string,
- groups: Array<{id: ULID}>,
+ id: ULID
+ name: string
+ groups: Array<{ id: ULID }>
}
export default defineComponent({
@@ -179,7 +181,7 @@ export default defineComponent({
media_types,
media_type: "",
active: false,
- filter_group: '',
+ filter_group: "",
}),
mounted() {
const { query, type } = view_params()
@@ -209,7 +211,7 @@ export default defineComponent({
const per_page = 100
const media_type = this.media_type === "" ? null : this.media_type
- const user_id = this.filter_group === '' && this.credentials.user_id || null
+ const user_id = (this.filter_group === "" && this.credentials.user_id) || null
const group_id = user_id === null && this.filter_group ? this.filter_group : null
const more = await debounced_get(
"movies",
diff --git a/unwind-ui/src/components/MovieList.vue b/unwind-ui/src/components/MovieList.vue
index d84efe6..fe61e67 100644
--- a/unwind-ui/src/components/MovieList.vue
+++ b/unwind-ui/src/components/MovieList.vue
@@ -10,7 +10,7 @@
-
+
|
{{ item.original_title }}
diff --git a/unwind-ui/vite.config.ts b/unwind-ui/vite.config.ts
index c51ac37..84d4068 100644
--- a/unwind-ui/vite.config.ts
+++ b/unwind-ui/vite.config.ts
@@ -1,5 +1,5 @@
-import { defineConfig } from 'vite'
-import vue from '@vitejs/plugin-vue'
+import { defineConfig } from "vite"
+import vue from "@vitejs/plugin-vue"
// https://vitejs.dev/config/
export default defineConfig({
|