You've already forked AstralRinth
fix moderation dash
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import dayjs from 'dayjs'
|
||||
import relativeTime from 'dayjs/plugin/relativeTime'
|
||||
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
dayjs.extend(relativeTime)
|
||||
|
||||
export const useCurrentDate = () => useState('currentDate', () => Date.now())
|
||||
|
||||
@@ -123,7 +123,7 @@ const TIME_24H = 86400000
|
||||
const TIME_48H = TIME_24H * 2
|
||||
|
||||
const { data: projects } = await useAsyncData('moderation/projects?count=1000', () =>
|
||||
useBaseFetch('moderation/projects?count=1000')
|
||||
useBaseFetch('moderation/projects?count=1000', { internal: true })
|
||||
)
|
||||
const members = ref([])
|
||||
const projectType = ref('all')
|
||||
|
||||
@@ -2,7 +2,7 @@ import dayjs from 'dayjs'
|
||||
|
||||
// note: build step can miss unix import for some reason, so
|
||||
// we have to import it like this
|
||||
// eslint-disable-next-line import/no-named-as-default-member
|
||||
|
||||
const { unix } = dayjs
|
||||
|
||||
export function useCountryNames(style = 'long') {
|
||||
|
||||
Reference in New Issue
Block a user