Skip to content

Commit

Permalink
Merge pull request #1986 from doccano/fix/nuxtBuild
Browse files Browse the repository at this point in the history
Fix nuxt build problem
  • Loading branch information
Hironsan committed Sep 5, 2022
2 parents 51921ae + c4de51d commit c023524
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions frontend/pages/projects/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ import _ from 'lodash'
import Vue from 'vue'
import { mapGetters } from 'vuex'
import ProjectList from '@/components/project/ProjectList.vue'
import { ProjectDTO, ProjectListDTO } from '~/services/application/project/projectData'
import {
ProjectDTO,
ProjectListDTO,
SearchQueryData
} from '~/services/application/project/projectData'
import FormDelete from '~/components/project/FormDelete.vue'
export default Vue.extend({
Expand All @@ -54,7 +58,9 @@ export default Vue.extend({
async fetch() {
this.isLoading = true
this.projects = await this.$services.project.list(this.$route.query)
this.projects = await this.$services.project.list(
this.$route.query as unknown as SearchQueryData
)
this.isLoading = false
},
Expand Down

0 comments on commit c023524

Please sign in to comment.