Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download errors fix #94

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
declare module 'jsonexport/dist';
declare module 'jsonexport/dist';
2 changes: 1 addition & 1 deletion frontend/src/views/AuthorityView.vue
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import router from '@/router'
import { useAppStore } from '@/stores/app'
import { useRoute } from 'vue-router'
import { formatPhoneNumber } from '@/utils/common'
import * as jsonexport from 'jsonexport/dist'
import jsonexport from 'jsonexport/dist'
import type { Authority, School, Address } from '@/types/types.d.ts'
import { useSanitizeURL } from '@/composables/string'
2 changes: 1 addition & 1 deletion frontend/src/views/ContactsView.vue
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
import { useAppStore } from '@/stores/app'
import { ref } from 'vue'
import InstituteService from '@/services/InstituteService'
import * as jsonexport from 'jsonexport/dist'
import jsonexport from 'jsonexport/dist'
const appStore = useAppStore()
// used for open and close modal
2 changes: 1 addition & 1 deletion frontend/src/views/DistrictView.vue
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ import { useRoute } from 'vue-router'
import router from '@/router'
import { formatPhoneNumber } from '@/utils/common'
import type { District, School, Grade, Address, Contact } from '@/types/types.d.ts'
import * as jsonexport from 'jsonexport/dist'
import jsonexport from 'jsonexport/dist'
import { useSanitizeURL } from '@/composables/string'
// import common components
import DisplayAddress from '@/components/common/DisplayAddress.vue'
2 changes: 1 addition & 1 deletion frontend/src/views/SchoolView.vue
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import router from '@/router'
import InstituteService from '@/services/InstituteService'
import { useAppStore } from '@/stores/app'
import type { School, Grade } from '@/types/types.d.ts'
import * as jsonexport from 'jsonexport/dist'
const jsonexport = require('jsonexport/dist')
import { distNumberFromMincode, formatPhoneNumber } from '@/utils/common'
import DisplayAddress from '@/components/common/DisplayAddress.vue'
import { useSanitizeURL } from '@/composables/string'