diff --git a/nuxt-frontend/stores/author/index.js b/nuxt-frontend/stores/author/index.js index dbd6c35d6..f74fabc18 100644 --- a/nuxt-frontend/stores/author/index.js +++ b/nuxt-frontend/stores/author/index.js @@ -18,9 +18,7 @@ export const useAuthorListStore = defineStore("authors", { this.isLoading = true; this.error = null; - let published = showDrafts - ? "is_published=false" - : "is_published=true"; + let published = showDrafts ? "is_published=false" : "is_published=true"; const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : ""; diff --git a/nuxt-frontend/stores/resources/index.js b/nuxt-frontend/stores/resources/index.js index eba36927d..2e3c2aa9f 100644 --- a/nuxt-frontend/stores/resources/index.js +++ b/nuxt-frontend/stores/resources/index.js @@ -20,9 +20,7 @@ export const useBlogListStore = defineStore("blog-list", { this.isLoading = true; this.error = null; - let published = showDrafts - ? "is_published=false" - : "is_published=true"; + let published = showDrafts ? "is_published=false" : "is_published=true"; const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : ""; @@ -73,9 +71,7 @@ export const useBlogListStore = defineStore("blog-list", { this.isLoading = true; this.error = null; - let published = showDrafts - ? "is_published=false" - : "is_published=true"; + let published = showDrafts ? "is_published=false" : "is_published=true"; const limitQuery = limit ? "&skip=" + start + "&limit=" + limit : "";