fix: empty string exported when exporting team collections (#2460)
This commit is contained in:
@@ -244,7 +244,7 @@ const createCollectionGist = async () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
getJSONCollection()
|
await getJSONCollection()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await axios.$post(
|
const res = await axios.$post(
|
||||||
@@ -316,8 +316,8 @@ const importToTeams = async (content: HoppCollection<HoppRESTRequest>) => {
|
|||||||
importingMyCollections.value = false
|
importingMyCollections.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
const exportJSON = () => {
|
const exportJSON = async () => {
|
||||||
getJSONCollection()
|
await getJSONCollection()
|
||||||
|
|
||||||
const dataToWrite = collectionJson.value
|
const dataToWrite = collectionJson.value
|
||||||
const file = new Blob([dataToWrite], { type: "application/json" })
|
const file = new Blob([dataToWrite], { type: "application/json" })
|
||||||
|
|||||||
Reference in New Issue
Block a user