From 1a18af5e0983a3d4be4fdc5e896a25726ba384b3 Mon Sep 17 00:00:00 2001 From: cp-dharti-r Date: Mon, 22 Apr 2024 17:52:52 +0530 Subject: [PATCH] Run prettier --- nuxt-frontend/stores/author/index.js | 4 +--- nuxt-frontend/stores/resources/index.js | 8 ++------ 2 files changed, 3 insertions(+), 9 deletions(-) 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 : "";