File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -132,9 +132,7 @@ const projectsCreatedData = computed(() => {
132
132
return projectsSortedData (projectsAll , projectsPostsLatest , post => new Date (post .model .created ))
133
133
})
134
134
135
- const projectsPending = computed (() =>
136
- projectsLatestData .value .length === 0
137
- || projectsCreatedData .value .length === 0 )
135
+ const projectsPending = computed (() => projectsAllQuery .status .value === ' pending' )
138
136
139
137
useSeoMetaHelper ({
140
138
title: ' Blog' ,
Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ const projectsCreatedData = computed(() => {
92
92
})
93
93
94
94
const projectsPending = computed (() =>
95
- projectsLatestData . value . length === 0
96
- || projectsCreatedData . value . length === 0 )
95
+ projectsPostsLatestQuery . status . value === ' pending '
96
+ || projectsPostsCreatedQuery . status . value === ' pending ' )
97
97
98
98
useSeoMetaHelper ({
99
99
title: ' Blog' ,
You can’t perform that action at this time.
0 commit comments