Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-dharti-r committed Apr 22, 2024
1 parent f54c185 commit 1a18af5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions nuxt-frontend/stores/author/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 : "";

Expand Down
8 changes: 2 additions & 6 deletions nuxt-frontend/stores/resources/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 : "";

Expand Down Expand Up @@ -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 : "";

Expand Down

0 comments on commit 1a18af5

Please sign in to comment.